Hide the main menu bar temporarily

G

Guest

In Office 2003, I'm coding a Report so that when the report is displayed, a
custom toolbar appears and then is deleted when the report is closed. This
part runs perfectly.

However, I need the main "Menu Bar" to become hidden when the user clicks
the Report button so the user only sees the choices on my custom toolbar. How
can I temporarily hide the menu bar?

I tried: Application.Commandbars("Menu Bar").Visible = False
But this does not work...

Thanks.
 
G

Guest

Hi Alex,

I couldn't get this to work; it seems to be wanting a macro name? - I put in
the name of my toolbar but this fails...can you guide me as to what I am
missing?

Thanks...
 

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


Top