I need a macro that will hide all visible toolbars with the exception of select few. I have tried everything. Nothing seems to work. Loops do not seem to work well with "Application.commandbars". I need a macro that will only display the following:
Application.CommandBars("Standard").Visible = True
Application.CommandBars("Custom1").Visible = True
Application.CommandBars("Formatting").Visible = True
Application.CommandBars("PivotTable").Visible = True
Application.CommandBars("Visual Basic").Visible = True
All other are Visible = False.
Application.CommandBars("Standard").Visible = True
Application.CommandBars("Custom1").Visible = True
Application.CommandBars("Formatting").Visible = True
Application.CommandBars("PivotTable").Visible = True
Application.CommandBars("Visual Basic").Visible = True
All other are Visible = False.