报错,类型不匹配,但是能正常使用脚本 上线扫描.Q ,第8行:类型不匹配: 'TIAOMA',
请问哪里出错了?
Dim yanshi,tiaoma
Yanshi = 3000
Call Plugin.Office.OpenXls("D:\单板出货测试MES数据.xls")
For i=3 To 1000
tiaoma = Plugin.Office.ReadXls(1, i, 1)
If tiaoma = 0 Then
Plugin.Office.CloseXls
MessageBox "完成"
EndScript
End If
FindPic 0,0,200,400,"D:\shuru.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX+20,intY+30
LeftClick 1
End If
SayString tiaoma
KeyPress 13,1
Delay Yanshi
Next