Thread: Hide Toolbars
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Hide Toolbars


Application.Commandbars("Worksheet Menu Bar").Enabled = False
Application.Commandbars("Standard").Visible= False
Application.Commandbars("Formatting").Visible= False

Put this code in the workbook open event, and reset it on workbook close, or
even deactivate.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jennifer" wrote in message
...
Hi All
I just created an excel template and I want to know how
to hide the standard & formating toolbars as well as the
main menus of Excel, when anyone opens this template.
TIA.
JD