Excel Macros and AddIns can be accessed if the file is opened with ExecuteFile>workbook.xlsx
XLBookHandle is a handle returned when using XLCreate/XLOpen but isn't available when using ExecuteFile>
Questions:
What information does the handle return? looks like it's 1= visible or 0=invisible
Can a variable be created to match the handle information so XL commands can be used?
I tried the code below without success.
Example Code:
Code: Select all
ExecuteFile>myexcelworkbook.xlsx
WindowAction>1, myexcelworkbook*
SetFocus>Myexcelworkbook*
Let>xlbook=1
XlDelRow>xlbook,Sheet1, 1
XlDelCol>xlbook, A:A