Protecting Menu's & toolbars

  • Thread starter Spreadsheet Solutions
  • Start date
S

Spreadsheet Solutions

Dear NG-ers;

I created a fully functional menu and toolbar for a new application which
works perfectly.
There is only one thing missing and I can't figure out how to do this.
How can I protect Toolbars & Menu's programmatically so that users can't
right click on the commandbar to
"customize" or "add" other toolbars and menu's.
 
R

Ron de Bruin

Hi Spreadsheet Solutions

Try

'Disable right clicking on the worksheet menu bar and other bars
Application.CommandBars("Toolbar List").Enabled = False 'This prevents users double-clicking on the Toolbar area to open the
'(Customize Toolbars) dialog. Only Excel 2002 and up
Application.CommandBars.DisableCustomize = True
 

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

Top