myreport缺少对象
此主题相关图片如下:myreport缺少对象代码.png
此主题相关图片如下:myreport缺少对象.png
就一句话指定lH09会报错吗
[此贴子已经被作者于2021/2/22 9:20:00编辑过]
i=1
'for i=0 to stockcount-1
Application.PeekAndPump
StkLable=block.GetStockCode(i)
MarketName=block.GetStockMarket(i)
Application.msgout "StkLable="&StkLable
Application.msgout "MarketName="&MarketName
'dim MyReport
set MyReport=MarketData.GetReportdata(Stklabel,MarketName)
StkName=MyReport.StockName
commodity=left(StkName,len(StkName)-4)
call trade(sAccount,odervol,StkLable,MarketName,StkName)
'next
这样也是报错