Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to launch one XLA from another on Excel launch
Hello,
When excel opens, I need it to launch an XLA that in turn launches another one. Currently I do it via setting up a reference from first to second XLA and then using the following code in first XLA's auto_open sub: [XLAAddInName].launch This works fine when launched from VBA editor. However, when launched open Excel opening, I get the following error message: "This workbook is currently referenced by another workbook and cannot be closed." Any suggestions would be highly appreciated. Lev |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to launch one XLA from another on Excel launch
If you have a reference to XLA2 in XLA1 then there is no need to open
it. It will be opened automatically - unless I'm missing something here? I don't see why you need the [XLAAddInName].launch line therefore. HTH levka wrote: Hello, When excel opens, I need it to launch an XLA that in turn launches another one. Currently I do it via setting up a reference from first to second XLA and then using the following code in first XLA's auto_open sub: [XLAAddInName].launch This works fine when launched from VBA editor. However, when launched open Excel opening, I get the following error message: "This workbook is currently referenced by another workbook and cannot be closed." Any suggestions would be highly appreciated. Lev |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel will not launch | Excel Discussion (Misc queries) | |||
Can't launch Excel | Excel Discussion (Misc queries) | |||
Want to launch Excel from C# app | Excel Programming | |||
Macro launch - Button vs Manual launch , has different results. | Excel Programming | |||
Excel No-Launch | Excel Programming |