Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear All
Has anyone got a snipet of code that remembers which CommandBars were visible on open so that on exit they can be switched back on. I can do all or nothing at the moment Thanks in advance Trevor |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Trevor
Use the Enabled property instead of the Visible Dim bar As CommandBar For Each bar In Application.CommandBars bar.Enabled = False Next To get them back use this Dim bar As CommandBar For Each bar In Application.CommandBars bar.Enabled = True Next -- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "Trevor Williams" wrote in message ... Dear All Has anyone got a snipet of code that remembers which CommandBars were visible on open so that on exit they can be switched back on. I can do all or nothing at the moment Thanks in advance Trevor |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Forms Command Button - Removal | Excel Discussion (Misc queries) | |||
LEN function in XL97 | Excel Discussion (Misc queries) | |||
XL97 changes filenames upon open | Excel Discussion (Misc queries) | |||
XL97 vs XL? Recalc-time | Excel Discussion (Misc queries) | |||
UDF returns #value in XL97 | Excel Programming |