ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Worksheet Menu Bar (https://www.excelbanter.com/excel-programming/299101-worksheet-menu-bar.html)

Spencer Hutton[_3_]

Worksheet Menu Bar
 
How can i have the menu bar invisible when a workbook opens. i have tried:
Application.CommandBars("Worksheet Menu Bar").Visible = False
without any luck. is this not possible? TIA.



Bob Phillips[_6_]

Worksheet Menu Bar
 
Try Enabled = False instead.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Spencer Hutton" wrote in message
...
How can i have the menu bar invisible when a workbook opens. i have

tried:
Application.CommandBars("Worksheet Menu Bar").Visible = False
without any luck. is this not possible? TIA.





Chip Pearson

Worksheet Menu Bar
 
Spencer,

Use the Enabled property rather than the Visible property.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Spencer Hutton" wrote in message
...
How can i have the menu bar invisible when a workbook opens. i

have tried:
Application.CommandBars("Worksheet Menu Bar").Visible = False
without any luck. is this not possible? TIA.






All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com