ahk) 열려진 엑셀창의 값 불러오기
Xl := ComObjActive("Excel.Application") ; 열려진 엑셀창을 오브젝트화 한다.
Xl.Visible := True
helloworld := Xl.Range("E1").Value ; E열의 1행에 대한 값을 helloworld 변수에 넣는다.
msgbox, %helloworld% ; 불러온 변수의 값을 출력한다.
간단하죠잉~!
Xl := ComObjActive("Excel.Application") ; 열려진 엑셀창을 오브젝트화 한다.
Xl.Visible := True
helloworld := Xl.Range("E1").Value ; E열의 1행에 대한 값을 helloworld 변수에 넣는다.
msgbox, %helloworld% ; 불러온 변수의 값을 출력한다.
간단하죠잉~!