Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I hide the worksheet menu bar
I have a macro recorded in a game that optimises the view of the game on
screen in all but one respect. When I have tried to add in the following command it always trips up and launches the debugger: Application.CommandBars("Worksheet Menu Bar").Visible = False Can anyone help? All I want to do is hide the menu bar when the user clicks the 'optimise view' button and reset everything back to normal when the 'close game' button is clicked. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I hide the worksheet menu bar
Application.CommandBars("Worksheet Menu Bar").Enabled = False
-- HTH Bob Phillips (replace somewhere in email address with googlemail if mailing direct) "AndyRoo" wrote in message ... I have a macro recorded in a game that optimises the view of the game on screen in all but one respect. When I have tried to add in the following command it always trips up and launches the debugger: Application.CommandBars("Worksheet Menu Bar").Visible = False Can anyone help? All I want to do is hide the menu bar when the user clicks the 'optimise view' button and reset everything back to normal when the 'close game' button is clicked. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I hide the worksheet menu bar
Thanks very much!!
"Bob Phillips" wrote: Application.CommandBars("Worksheet Menu Bar").Enabled = False -- HTH Bob Phillips (replace somewhere in email address with googlemail if mailing direct) "AndyRoo" wrote in message ... I have a macro recorded in a game that optimises the view of the game on screen in all but one respect. When I have tried to add in the following command it always trips up and launches the debugger: Application.CommandBars("Worksheet Menu Bar").Visible = False Can anyone help? All I want to do is hide the menu bar when the user clicks the 'optimise view' button and reset everything back to normal when the 'close game' button is clicked. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do i hide & unhide menu bar? | Excel Discussion (Misc queries) | |||
How do I hide the Worksheet menu bar | Excel Worksheet Functions | |||
hide toolbars, menu bar, etc | Excel Discussion (Misc queries) | |||
Hide all menubars even 'Worksheet Menu Bar' | Excel Programming | |||
Make "Worksheet Menu Bar" invisible or Delete/hide it's buttons | Excel Programming |