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
 
Back
Top