Restore toolbars

  • Thread starter Thread starter Brenda
  • Start date Start date
B

Brenda

I've completely removed the toolbars with code and can't
figure out how to get them back.

Help!
TIA,
Brenda
 
Hi Brenda

Try this first

Sub show()
Dim bar As CommandBar
For Each bar In Application.CommandBars
bar.Enabled = True
Next
End Sub

Alt-F11
Insert module from the menubar in the VBA editor
Paste the macro test in there
Alt-Q to go back to Excel

In Excel press Alt-F8 to get a macro list
Select it and press Run
 
Thanks Ron!
-----Original Message-----
Hi Brenda

Try this first

Sub show()
Dim bar As CommandBar
For Each bar In Application.CommandBars
bar.Enabled = True
Next
End Sub

Alt-F11
Insert module from the menubar in the VBA editor
Paste the macro test in there
Alt-Q to go back to Excel

In Excel press Alt-F8 to get a macro list
Select it and press Run


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)







.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top