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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
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,222,150
Messages
6,164,242
Members
451,882
Latest member
Bigtop

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