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 ADD IN help


Hi,
I have developed a vba app that worked fine but I have now changed i
to an addin and having a couple of problems.

When the addin menu is loaded, it contains an option to load a templat
worksheet to work from, the work sheet contain 25 combo boxes and I hav
an init() sub that connects each combo to a class module to detec
certain events, this all loads correctly and functions as it i
supposed to. The inint function is called when the worksheet is copie
from the addin to the active worksheet.

The problem I am having is if the user decides to save this templat
sheet and re opens it, then the init sub is not called. I have trie
making this calll in the auto open but as there are no sheets open a
the time it throws back an error. Where is the best place to call th
init sub without making the user select a menu item to call this sub?
have tried the worksheet activate event but with no joy, as soon as th
sheet is loaded I need to make the sub init call but cannot think ho
or where to do this, any ideas?

Thank yo

--
cmpcwil
-----------------------------------------------------------------------
cmpcwil2's Profile: http://www.excelforum.com/member.php...fo&userid=3341
View this thread: http://www.excelforum.com/showthread.php?threadid=55362

 
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



All times are GMT +1. The time now is 09:52 PM.

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"