嗯嗯 ! 我真的沒有01.xls 文件 只有 book01.xls
謝謝 啦!
---------------------------------------------------------初步用看看 很不錯
我之前
#include <Excel.au3>
local $NOBER[17]=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q"]
For $i = 0 To 16
IF $Parameter[5] = $NOBER[$i] THEN $Parameter[5] = $i+1
Next
local $NOBER[17]=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q"]
For $i = 0 To 16
IF $Parameter[6] = $NOBER[$i] THEN $Parameter[6] = $i+1
Next
local $NOBER[17]=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q"]
For $i = 0 To 16
IF $Parameter[7] = $NOBER[$i] THEN $Parameter[7] = $i+1
Next
local $NOBER[17]=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q"]
For $i = 0 To 16
IF $Parameter[8] = $NOBER[$i] THEN $Parameter[8] = $i+1
GUICtrlSetData($EXL[1],Round(_ExcelReadCell(_ExcelBookAttach($Parameter[21],"FileName"),$Parameter[14],$Parameter[6]),3));;;;;;;;;;;;;;;;;;;;;;$excel1
GUICtrlSetData($EXL[2],Round(_ExcelReadCell(_ExcelBookAttach($Parameter[21],"FileName"),$Parameter[15],$Parameter[7]),3));;;;;;;;;;;;;;;;;;;;;;$excel2
GUICtrlSetData($EXL[3],Round(_ExcelReadCell(_ExcelBookAttach($Parameter[21],"FileName"),$Parameter[16],$Parameter[8]),3));;;;;;;;;;;;;;;;;;;;;;$excel3
GUICtrlSetData($EXL[4],Round(_ExcelReadCell(_ExcelBookAttach($Parameter[21],"FileName"),$Parameter[17],$Parameter[9]),3));;;;;;;;;;;;;;;;;;;;;;$excel4
--------------------------------------------------------------------------
這麼長 還要A轉成1 B轉成2..........
還有重復開啟的問題 還有說 <EXCEL.AU3> 第635行錯誤;;;;;;;;;XZZZX
你這個 真好
希望以後 若遇 excel問題 有請kevinch |