Toolbars

D

dstiefe

I've created my own toolbar. what VBA code would I write to select/delete
that specific toolbar?
 
F

FSt1

hi,
Add a custom tool bar:
Application.CommandBars.Add(Name:="CTB").Visible = True
Delete a custom tool bat:
Application.CommandBars("CTB").Delete
Hide a custom tool bar:
Application.CommandBars("CTB").Visible = False
Show a custom tool bar:
Application.CommandBars("CTB").Visible = True

regards
FSt1
 
D

dstiefe

thank you

FSt1 said:
hi,
Add a custom tool bar:
Application.CommandBars.Add(Name:="CTB").Visible = True
Delete a custom tool bat:
Application.CommandBars("CTB").Delete
Hide a custom tool bar:
Application.CommandBars("CTB").Visible = False
Show a custom tool bar:
Application.CommandBars("CTB").Visible = True

regards
FSt1
 
Top