Hiding Menue bar

  • Thread starter Thread starter Radar
  • Start date Start date
R

Radar

Need help with hiding the mainbar , when the forms opens. Also how do
you get rid of the Type a question for help menu box?

Thanks
 
Radar said:
Need help with hiding the mainbar , when the forms opens. Also how do
you get rid of the Type a question for help menu box?


Use a line of code to hide/show the menu bar:
DoCmd.ShowToolbar "Menu Bar", acToolbarNo

Are you asking about the popup Office Assistant thingy?
If so, it's on the Help menu.
 
Radar,

If you meant how do you hide it "programmatically", I found the answer on
Google:

Application.CommandBars.DisableAskAQuestionDropdown = True

To show it again:

Application.CommandBars.DisableAskAQuestionDropdown = False

If there is an expert out there, please jump in: Problem is, if you don't
show it again before you quit, I think it will stay hidden for all other
Access databases you open, until you programmatically show it again. The
other thing is, if you show it upon quitting an Access application, and there
is another Access application open in the background, it will now have the
box showing, so all of that needs to be managed.

It appears that instead of having set it up to show/hide within an Access
instance, they did it across all of Access.
 
Back
Top