回复 15# cctt206
#include <Array.au3>
#include <Excel.au3>
;#include <MsgBoxConstants.au3>
Local $sConfigFilePath = @ScriptDir&"\55.xlsx" ;
Local $iColumn;column of excel
Local $iRow ; row of excel
For $iRow = 2 to 491 Step 1
; Create application object and open an example workbook
Local $oExcel = _ExcelBookOpen($sConfigFilePath,0,True)
Sleep(1000)
;Local $oWorkbook = _Excel_BookOpen($oExcel, $sConfigFilePath)
Sleep(1000)
Local $sResult = _ExcelReadCell($oExcel, "A1")
Sleep(1000)
_ExcelBookClose($oExcel,True,0)
$oExcel =0
Sleep(4000)
Next
我跑完了沒出現任何問題
V3.3.8版本 |