本帖最后由 tcpuuu 于 2012-2-9 14:36 编辑
拜託 user3000 你可以幫我 改成
拜託大家幫助 謝謝啦
每秒 復製excel B1 E1格的數據 到 $a1 $a2
excel數字1直跳動 $a1 $a2也跟著1直跳動
希望不會有造成重複開啟excel 的問題#include <Excel.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Opt("MustDeclareVars", 1)
Global $gu_Form1 = GUICreate("EXCEL TEST", 220, 160, -1, -1)
Global $gu_Label1 = GUICtrlCreateLabel("", 0, 16, 220, 17, $SS_CENTER)
Global $A1 = GUICtrlCreateInput ("",2,38,64,22,0x01)
Global $A2 = GUICtrlCreateInput ("",80,38,64,22,0x01)
GUISetState(@SW_SHOW)
AdlibRegister("aaa",1000)
Local $nMsg
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func aaa();
GUICtrlSetData($gu_Label1,GUICtrlRead($A1))
EndFunc ;aaa
|