By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,543 Members | 2,037 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,543 IT Pros & Developers. It's quick & easy.

Hide the Toolbar "Menu Bar" When A Specific Form Opens

P: n/a
I would like to write code in the On Open property of a form that
hides the main menu bar toolbar. I have already customized the menu
bar to all for showing/hiding but have no clue how to write the code
in the form.

Is it even possible to do this? If so, how?

Thanks!
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
MGFoster wrote:

If you mean the menus "File, Edit, View,..." you'll have to use the
CommandBars object. I've been able to hide specific menu items (File,
Edit, etc.) on the main menu bar by using this:

CommandBars("Menu Bar").Controls("File").Visible = False

Besides unchecking the "Allow Full Menuss" in the Tools > Startup
dialog box, which only hids some file options, I haven't found a way
to hide the whole menu bar.


Can't this be done by inserting =1 in the Menu Bar property of a form? I
don't want *any* menus to be displayed when some of my forms are displayed.
This accomplishes that.


Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.