Skip to content

Instantly share code, notes, and snippets.

@JoeGlines
Created January 1, 2024 23:44
Show Gist options
  • Save JoeGlines/10663efabe90b69d824058bfbd6d8c5a to your computer and use it in GitHub Desktop.
Save JoeGlines/10663efabe90b69d824058bfbd6d8c5a to your computer and use it in GitHub Desktop.
#HotIf WinActive(' - Excel ahk_class XLMAIN')
F1:: ; Load Data
{
Global Data
PXL := XL_Start_Get() ; will connect to active Excel / Start new Workbook if no XL application
; Range := XL_Get_Selected_Range(PXL,1) ; Get selected range (set absolute to 1 if you want $)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment