Saving Custom Menus

  • Thread starter Thread starter ac1179
  • Start date Start date
A

ac1179

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!
 
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.
 
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







- 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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top