比较简单:
excel := ComObjActive("Excel.Application") ; 创建Excel 对象
Sheet:=excel.Worksheets["Sheet1"]
;获取Sheet1的A1 单元格内容
MsgBox % Sheet.Cells[1,1].Value
比较简单:
excel := ComObjActive("Excel.Application") ; 创建Excel 对象
Sheet:=excel.Worksheets["Sheet1"]
;获取Sheet1的A1 单元格内容
MsgBox % Sheet.Cells[1,1].Value