Menus

mcdude

New Member
Joined
Feb 24, 2003
Messages
6
Howdy:

I upgraded to Excel 2000 a few months ago and it is going OK...

..but... I would like to open a Workbook with it's own code that runs off it's own MENU item. I used to be able to do this in Excel 5 with Auto_Open macro's but I'll be goshdurned if I can do it in Excel 2000...

..I have a workbook I use maybe once a year that has a large amount of code run by a large amount of macro's and it seems to me the sensible thing to do is to load a MENU with the workbook.

I am creating the menu's OK.. I just don't want them there when I don't need them.

Thanks in advance
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
The old Auto-Open/Auto-Close macros have been replaced in Excel 2000. You will need to use the Workbook_Open/Workbook_BeforeClose events. The code for these are placed in the Workbook object module. If you have problems, search the VBA help file for Event handlers.
 
Upvote 0
Thnx Tommy.

I am wondering what event I am going to handle tho' as I can name a Toolbar ok but I don't see anything anywhere about naming a MENU
 
Upvote 0
Bingo. That link should do it. I think I'll code it up and create the Menu Items all off a single menu item and just delete them all when I 've finished using it. Many thanks.
 
Upvote 0

Forum statistics

Threads
1,221,689
Messages
6,161,302
Members
451,695
Latest member
Doug Mize 1024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top