Menu Bar

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
 
A

Albert D. Kallal

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
 

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

ACC2002 - MenuBar property not working 8
Custom MenuBar 2
Menu bar remains hidden 2
File menu problem 1
menu bar and error 91 3
Menu bar won't save 8
Hide Menu Bar 1
Menu Bar size in Access 2007 3

Top