Note: This question relates to both Excel VBA code and AutoHotKey
(AHK) code. However, I don't know if familiarity with the latter is necessary to provide a solution.
I have got several VBA macros in Excel (2007) which are set up to activate various AHK commands.
For example, this VBA code:
Shell ("c:\program files (x86)\autohotkey\autohotkey.exe
launches this AHK command:
If 1 = param363 ;Main_363_
which simply opens the specified Excel workbook.
How could either or both of these codes be modified so that instead of just opening the workbook to whichever worksheet happened to last be used, as is the case now, the code will open to a specific worksheet tab within the workbook