Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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
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
Sharing Macros enna49 Excel Worksheet Functions 1 February 19th 10 01:03 PM
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
Sharing Macros Russ Excel Discussion (Misc queries) 2 August 9th 05 02:58 AM
Conditional Formating Extreme Question Heather Excel Worksheet Functions 5 May 8th 05 08:06 PM
Sharing macros - extreme newbie question I know. rfalke Excel Programming 1 October 13th 04 06:08 PM


All times are GMT +1. The time now is 04:33 PM.

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

About Us

"It's about Microsoft Excel"