Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Saving Custom Menus

Hi, I inherited an excel file that already has custom menus. I need
to delete a few menu commands from it and add another. I did this ans
also assigned a macro to a button in the menu. It works fine until I
save it and try to repoen the file. When I open it none of the custom
menu revisions were made (however, the new macro that i wrote is still
in the VBA editor). Can someone please let me know how to save the
menu revisions?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Saving Custom Menus

Perhaps the menu is being built dynamically.

Check in the ThisWorkbook code module and see if there is anything the
Workbook_Open routine, or it calls another procedure.

--
__________________________________
HTH

Bob

"ac1179" wrote in message
...
Hi, I inherited an excel file that already has custom menus. I need
to delete a few menu commands from it and add another. I did this ans
also assigned a macro to a button in the menu. It works fine until I
save it and try to repoen the file. When I open it none of the custom
menu revisions were made (however, the new macro that i wrote is still
in the VBA editor). Can someone please let me know how to save the
menu revisions?

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Saving Custom Menus

On Jul 25, 3:09*pm, "Bob Phillips" wrote:
Perhaps the menu is being built dynamically.

Check in the ThisWorkbook code module and see if there is anything the
Workbook_Open routine, or it calls another procedure.

--
__________________________________
HTH

Bob

"ac1179" wrote in message

...



Hi, *I inherited an excel file that already has custom menus. *I need
to delete a few menu commands from it and add another. *I did this ans
also assigned a macro to a button in the menu. *It works fine until I
save it and try to repoen the file. *When I open it none of the custom
menu revisions were made (however, the new macro that i wrote is still
in the VBA editor). *Can someone please let me know how to save the
menu revisions?


Thanks!- Hide quoted text -


- Show quoted text -


There's an auto_open procedure that has the line:
Application.CommandBars("Main Menu").Visible = True

When you exit out of the program there's another macro that runs that
has the following line
Application.CommandBars("Main Menu").Delete

When I added new buttons to the "Main Menu" bar, I just saved the
workbook normally (File Save As). Is there an option to save the
latest changes in the "Main Menu" toolbar?
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
Custom menus don't appear under custom ribbon tab Misbah Excel Programming 2 April 15th 08 01:29 AM
Saving customized toolbar and menus Min Excel Discussion (Misc queries) 2 April 13th 07 10:30 AM
Custom FaceID's for Custom Menus triaz[_4_] Excel Programming 2 March 1st 06 10:34 AM
Custom faces for custom menus/commandbars Stu Valentine Excel Programming 1 September 17th 04 04:28 AM
custom menus Bob Phillips[_6_] Excel Programming 3 May 6th 04 10:31 PM


All times are GMT +1. The time now is 03:42 AM.

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"