Toolbar/meu bar help

chead5

Active Member
Joined
Jun 7, 2004
Messages
356
Ok, I have created a system for another department in my company to use. It's all done except I need to remove the Tools --> Marco's command form the menu bar. I also need to remove a couple of the toolbar items too.
I have done this manually in the file, saved it then restored all my settings. After the restore, when I open the file again all the stuff I removed is back.

Can anyone help me remove the menu and tooar items just in this one file?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
I just recorded a macro when i removed the Tools menu and got the following code:
Code:
Application.CommandBars("Worksheet Menu Bar").Controls(6).Delete

You could try putting this (or something similar) in the Workbook open event.

And put something to restore the toolbar in the BeforeClose event.
Code:
Application.CommandBars("Worksheet Menu Bar").Reset
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,547
Members
449,089
Latest member
davidcom

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