Menu Bar

  • Thread starter Thread starter DavidW
  • Start date Start date
D

DavidW

Having a little problem with start up
I created a custom menubar with Access's Interface and gave it a name
When I select it in the startup options and restart my program I get an
error saying that it cant find the macro named "my menubar".
I am trying to hide the normal menubar and only show my custom menubar. I
tried

'I know, this is at the closing of the program only

With Application
Application.CommandBars.ActiveMenuBar.Enabled = True
End With

but this kills mine. Can you think of why the startup does not recognize my
menubar and/or is there a way to modify the above code and kill the normal
menubar and activate mine?
TIA
David
 
Hum, you should not need any code to hide the main bar if you specify your
own.

When you go to tools->start-up and select the Menu bar in the drop down,
does it appear ok?

Also, if you have a start-up form, check the other tab in case you deleted,
or renamed or even changed a tool bar to a menu bar. So, check the start-up
forms "other" tab, and make sure that the menu bars, and tool bars specified
in the form also exist, or simply remove them.

You can try downloading a sample tiny and simple mdb of mine that hides the
ms-access interface complete. It takes no code, and simply sets the options
in the start-up, and has a simple menu bar that replaces the ms-access one.
No code, or funny settings should be required to accomplish what you need.

You can do a quick try of my sample at:

http://www.attcanada.net/~kallal.msn/msaccess/DownLoad.htm
 
Back
Top