Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sharing macros - extreme newbie question I know.
I have a macro to create a menu, but how do I make it run when they ad the add-in? I assume that this has to happen automatically. Thanks --rya -- rfalk ----------------------------------------------------------------------- rfalke's Profile: http://www.excelforum.com/member.php...fo&userid=1526 View this thread: http://www.excelforum.com/showthread.php?threadid=26893 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sharing macros - extreme newbie question I know.
Put a call to the macro in the Workbook_Open event (in the thisworkbook
module) in the Addin. See Chip Pearson's site for an explanation of Events http://www.cpearson.com/excel/events.htm Make sure you include code to delete it (surrounded by On Error Resume Next and On Error goto 0 in case it doesn't exist) before you create it so you don't get duplicates. -- Regards, Tom Ogilvy "rfalke" wrote in message ... I have a macro to create a menu, but how do I make it run when they add the add-in? I assume that this has to happen automatically. Thanks --ryan -- rfalke ------------------------------------------------------------------------ rfalke's Profile: http://www.excelforum.com/member.php...o&userid=15269 View this thread: http://www.excelforum.com/showthread...hreadid=268935 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Sharing Macros | Excel Worksheet Functions | |||
Real Newbie newbie question | New Users to Excel | |||
Sharing Macros | Excel Discussion (Misc queries) | |||
Conditional Formating Extreme Question | Excel Worksheet Functions | |||
Sharing macros - extreme newbie question I know. | Excel Programming |