Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 158
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel will not launch owzatagain. Excel Discussion (Misc queries) 0 August 26th 09 02:57 AM
Can't launch Excel [email protected] Excel Discussion (Misc queries) 3 January 2nd 07 02:30 AM
Want to launch Excel from C# app Stefani[_2_] Excel Programming 2 March 18th 05 05:44 PM
Macro launch - Button vs Manual launch , has different results. Wayne Excel Programming 4 February 23rd 05 11:33 AM
Excel No-Launch LarryP[_2_] Excel Programming 0 June 18th 04 02:30 PM


All times are GMT +1. The time now is 08:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"