I am trying to define a function that incorporates some simple commands so that the cursor jumps to a certain cell in Excel. Here is my script:
Code: Select all
GoToCell(x){
WinActivate, Excel,
Send, {CTRLDOWN}g{CTRLUP}
WinWait, Gehe zu,
Send, x{ENTER}
Sleep, 500
}
Return
#^8::
GoToCell (B3)
Return
Thanks Daniel