Selectively Loading an Add-In

Add-in Express™ Support Service
That's what is more important than anything else

Selectively Loading an Add-In
 
Scott Johnston




Posts: 31
Joined: 2006-07-18
Is it possible to selectively load an Add-In? I want my Add-In to be loaded only when the "MyAddIn Workbook" is opened or activated etc...

Posted 18 Jul, 2006 09:54:01 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi Scott.

Yes, it is possible. You need to use the 'ADX Excel Worksheet Module' wizard to add a new Excel module to the add-in. The add-in will always be loaded when Excel starts but it will only be acivated when a specific workbook/template is loaded/activated. Please look at the ExcelTimesheet example from the ADX instrallation package.
Posted 18 Jul, 2006 10:07:07 Top
Scott Johnston




Posts: 31
Joined: 2006-07-18
Sergey,

Many thanks for the pointer. It seems to be just what I'm after.

I'll make sure I look through all the examples before posting any questions like this again...

:o

Scott
Posted 18 Jul, 2006 16:27:19 Top