Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub showhide(bHide As Boolean)
Dim cmb As CommandBar Static col As New Collection If bHide Then For Each cmb In Application.CommandBars If cmb.Type = msoBarTypeMenuBar Or cmb.Type = msoBarTypeNormal Then If cmb.Visible Then cmb.Visible = False cmb.Enabled = False col.Add cmb, cmb.Name End If End If Next cmb Else For Each cmb In col cmb.Visible = True cmb.Enabled = True Next cmb Set col = Nothing End If End Sub DM Unseen |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
hide the menubars and toolbars | Excel Discussion (Misc queries) | |||
close (hide) toolbars | Excel Discussion (Misc queries) | |||
How do I hide and show all toolbars | Excel Worksheet Functions | |||
Hide Toolbars | Excel Programming | |||
Hide toolbars | Excel Programming |