Hiding the Menu Bar

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to hide the menu bar on click of a button. I thought I could
just use the following line of code: currentdb.MenuBar.Hide but Access
doesn't recognize MenuBar as a valid method. Is there a way to do this?
 
NChris said:
I would like to hide the menu bar on click of a button. I thought I could
just use the following line of code: currentdb.MenuBar.Hide but Access
doesn't recognize MenuBar as a valid method. Is there a way to do this?


Try this:

DoCmd.ShowToolbar "Menu Bar", acToolbarNo
 

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

Similar Threads

MenuBar - hide it immediately 2
Default Menu bar 3
Hide the main menu bar temporarily 3
menu bar and error 91 3
Hide Access Menu 5
Menu bar remains hidden 2
Hide & Unhide Ribbon in Access 2007 0
Hide Menu Bar 1

Back
Top