Hi Guys, first Hello to AHK community. I am totally new with AHK but found it very powerful and want to get some things done.
First Q - I am running my first script to open an excel file and my intention is to run personal macro into it via Send ^K (CTRL + K). My issue is that after the file get opened there are no available personal macros at all. When I open the file w/o a script it work fine.
Tried to search for the solution via web but maybe you can pass me with a quick answer.
Second Q - how to repeat it for several files in the same script?
ps. I've found out that here I should present only working script. Lets park it for the time being I'll receive some advice.
Here is the sample of the code which open excel file.
AHK: latest one
xlFile := A_ScriptDir "\file.xls" try xl := ComObjActive("Excel.Application") catch xl := ComObjCreate("Excel.Application") Book := xl.WorkBooks.Open(xlFile) Book.Sheets("Sheet1").Select xl.Visible := True