Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Quick question on Add-in

Hi

See
http://www.j-walk.com/ss/excel/tips/tip53.htm
for code. Call this code from the Thisworkbooks' Open and Close events
(allows you also to run the addin as a regular opened file), or the
AddinInstall / AddinUninstall events if that is important (my 0.02 -it
should'nt be important :-)

HTH. Best wishes Harald

"Shuvro Basu" skrev i melding
ps.com...
Hi All,

I need to create an add-in that will be executed when the user selects
the add-in from the list under Tools---Add-ins in Excel. So far so
good. Now what I need this add-in to do is add a menu option in the
main excel menubar when it gets installed and show couple of options.
Ideally it will run a userform. So when the user closes the userform
the add-in needs to uninstalled and the menu deleted. Also if the user
selects an exit option from the new menu created by the add-in, it
should unload the userform and delete the menu. I need to have the code
to create the menu from the add-in at run time and also the code to
disable the menu when the add-in is unloaded. Also any clue to delete
the menu when the userform is terminated will be appreciated.

Thanks.



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
quick question Fady Excel Discussion (Misc queries) 7 February 23rd 08 04:59 AM
Quick Question Kory Excel Discussion (Misc queries) 1 July 21st 07 09:46 AM
Quick Question Brian Hamilton Excel Worksheet Functions 2 October 27th 06 05:51 PM
Quick Question re For and Next Paige Excel Programming 4 April 24th 06 06:09 PM
Quick question - quick answer about assigning shortcut keys funkymonkUK[_75_] Excel Programming 1 October 13th 05 10:50 AM


All times are GMT +1. The time now is 10:50 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"