LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Order of Add-Ins Loaded By Excel

I need to run a bit of code in the Excel envionment before any other code is
run.

We have a large number of separate bits of code developed by different
groups that reply on an environment variable. This environment variable needs
to be set correctly before the code runs.

Almost all our existing code base is xla or xll. We have written a COM Addin
to control this environment variable thinking that all COM Addins were loaded
up before the standard OPEN, OPEN1, OPEN2 registry keys were processed.

What we have discovered is that the Class_Initialise code for some of the
global variables in our XLA's is run first then the Connect on our COM Add-In
and then the Auto_Open code of our XLA.

We are looking for some more detail with regards to Excel's Start up process
so that we can get in first. Or there just a race condition between the
registered COM Addins and the OPEN registry keys?

Any info appreciated.

Kind Regards

Andrew Lockhart
 
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
word and excel loaded but will not function hatrick Setting up and Configuration of Excel 0 August 24th 08 10:30 PM
Once I've loaded the Solvertable Add-In, how do I use it in Excel? Sarah Excel Programming 3 March 22nd 07 06:36 PM
exiting excel takes ages if any add-in loaded Robin Hammond[_2_] Excel Programming 7 July 6th 05 10:28 AM
How to change the order in which excel addins gets loaded? Joseph Excel Discussion (Misc queries) 0 June 24th 05 07:56 AM
programmatically open excel from asp with web query url loaded cindy Excel Programming 0 September 17th 04 12:29 AM


All times are GMT +1. The time now is 06:48 AM.

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

About Us

"It's about Microsoft Excel"