Recover Access menu after hiding

G

Guest

Hi

I run the code below from answers by Todd L. Shillam (12/19/2004 9:21 PM
PST) to hide all command bars (menu & toolbars) in my logon form.

Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False
Next i

It works fine but the Access menu will not show again, even when I just open
the Access application. Using the the statement below only unhide the menu
at the current session. But it does not solve the problem.

CommandBars("Menu Bar").Enabled = True

Please give me advise as how to configue the Access to unhide the menu
Thanks,
Li
 
K

Keith Wilby

Li Qiu said:
Hi

I run the code below from answers by Todd L. Shillam (12/19/2004 9:21 PM
PST) to hide all command bars (menu & toolbars) in my logon form.

Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False
Next i

It works fine but the Access menu will not show again, even when I just
open
the Access application. Using the the statement below only unhide the
menu
at the current session. But it does not solve the problem.

CommandBars("Menu Bar").Enabled = True

Please give me advise as how to configue the Access to unhide the menu
Thanks,
Li

Try holding the shift key down when you open Access.

Keith.
www.keithwilby.com
 

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

Top