Solved Need to on off design mode for forms

WARNING:
Unless reversed, the changes are permanent and apply to all other databases
To prevent that, make sure you re-enable the CommandBars before closing the database.
So the very FIRST thing you should do is create a database the ENABLES all of your command bars BEFORE you even try this? Sounds like that should have been the first part of the sample...
 
So the very FIRST thing you should do is create a database the ENABLES all of your command bars BEFORE you even try this? Sounds like that should have been the first part of the sample...

It appears that my original comment wasn’t as clear as I intended. I've since reworded it.
The code just disables the design menu item (commandbar control) not the command bar (shortcut menu) as a whole.

The article gives all the code for anyone who wants to try it. If you don't like the idea, then leave it alone.
 

Users who are viewing this thread

Back
Top Bottom