Hide tool bar

B

Bob Phillips

It is. Something like,

Application.Commandbars("Standard").Visible = False


or for the main menu, use

Application.Commandbars("Worksheet Menu Bar").Enabled = False

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
T

Tempy

Anybody Heeeeeeelp,
I have just hidden all my tool bars and there is an error in my code
!!!!

Could somebody tell me how to get into the document without my Auto code
running?
I have tried holding in the shift key while opening and it doesnt seem
to work ?

Tempy

*** Sent via Developersdex http://www.developersdex.com ***
 
B

Bob Phillips

Just open the workbook with Macros disabled.

You can also reset the commandbars from within the VBE Immediate window by
typing the command, such as

Application.Commandbars("Standard").Visible = True
and hit return

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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

Similar Threads

Create tool bar 2021 0
Hide one sheet tab 7
Disable the "X" close button in an excel application 22
Create own tool bar Mac 2015 0
Change desktop icon 3
Personal.xls 8
Disable an Autostart module 2
associative arrays 2

Top