先生,我试图修改Originally Posted by ;
https://www.forex-pedia.com/attachme...1557218443.mq4在Excel中获取更多数据。这是我的代码,但我只在CellAddress = R1C2中得到字符R:我支持你的帮助。 #property copyright版权所有2012,Stephen Ambatoding #property链接http://www.forex-pedia.com/sangmane #property strict #property show_inputs extern string Sheet = Sheet1;字符串CellAddress;字符串CellValue; #import ExcelExportLib.ex4 int ExcelInit(string Sheet); void ExcelDeinit(); int ExcelWrite(string CellAddress,string CellValue); #import void OnStart(){{if(CellAddress = R1C2)string CellValue =来自印度尼西亚的爱; } int iRet; iRet = ExcelInit(表单); if(iRet == 0){Alert(ExcelInit失败!);返回; } iRet = ExcelWrite(CellAddress,CellValue); if(iRet == 0){Alert(ExcelWrite failed!); } ExcelDeinit();返回; }