AutoHotKey

ahk) 열려진 엑셀창의 값 불러오기

by 디케 posted Oct 30, 2013
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

ahk) 열려진 엑셀창의 값 불러오기

 

 

Xl := ComObjActive("Excel.Application") ; 열려진 엑셀창을 오브젝트화 한다.

Xl.Visible := True
helloworld := Xl.Range("E1").Value          ; E열의 1행에 대한 값을 helloworld 변수에 넣는다.

msgbox, %helloworld%                              ; 불러온 변수의 값을 출력한다.

 

간단하죠잉~!