Code: Select all
oExcel := ComObjCreate("Excel.Application")
oExcel.Workbooks.Add
oExcel.Visible := 1
BUT
if an excel application is ALREADY open (with an active sheet), how could assign that istance to a COM object in order to control it via AHK?
Thank you for the replies