Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've used this code to hide toolbars and command bars
Sub hide( Dim bar As CommandBa For Each bar In Application.CommandBar bar.Enabled = Fals Nex End Su Sub show( Dim bar As CommandBa For Each bar In Application.CommandBar bar.Enabled = Tru Nex End Su Problem is when I restart excel now it defaults to the hidden status Thanks for any ideas. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You could put the show macro into the workbook open event of Personal.xls,
this will then re-display it. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Lawlera" wrote in message ... I've used this code to hide toolbars and command bars: Sub hide() Dim bar As CommandBar For Each bar In Application.CommandBars bar.Enabled = False Next End Sub Sub show() Dim bar As CommandBar For Each bar In Application.CommandBars bar.Enabled = True Next End Sub Problem is when I restart excel now it defaults to the hidden status. Thanks for any ideas. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
One command in one cell initiating another command in another cel. | Excel Worksheet Functions | |||
command code ( GOTO command) in formula | New Users to Excel | |||
charting defaults | Charts and Charting in Excel | |||
Pivot Table Error Message - "Command Text not set for command obje | Excel Discussion (Misc queries) | |||
Set Defaults | Charts and Charting in Excel |