How can I control toolbars?

A

Al

I have 2 customized tool bars, one for forms and one for reports. These menus
are placed in the (Toolbar) property of the form. However, I have many other
toolbars poping inconsistently. How can I control them.
thanks
Al
 
M

Marshall Barton

Al said:
I have 2 customized tool bars, one for forms and one for reports. These menus
are placed in the (Toolbar) property of the form. However, I have many other
toolbars poping inconsistently. How can I control them.


You can hide tool/menu bars:

DoCmd.ShowToolbar "Menu Bar", acToolbarNo

Or disable them:

CommandBars("Menu Bar").Enabled = False
 
Top