Lock Commandbars

  • Thread starter Thread starter Jean-pierre Hermans
  • Start date Start date
J

Jean-pierre Hermans

Hello,


Is it possible to lock a selfmade commandbar?
So that the users of my workbook cannot delete them!


Greetz.
 
Jean-pierre,

This may do the trick...
Set SelfMade = Application.CommandBars.Add(...
SelfMade.Protection = msoBarNoCustomize

This doesn't hurt either...
Application.CommandBars("Toolbar List").Enabled = False

Regards,
Jim Cone
San Francisco, CA
 

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