disable toolbars

G

Guest

what code would i enter to have the standard, formating, drawing toolbars be
disabled when a work book open? (right click on edit.... etc)
 
G

Guest

Hi,

Don't forhget to enable them in workboo_before close

Private Sub Workbook_Open()
Application.CommandBars("standard").Enabled = False
Application.CommandBars("format").Enabled = False
Application.CommandBars("drawing").Enabled = False
End Sub

Mike
 

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

Similar Threads


Top