Disable formula Bar in Option Menu

B

black_sun

Hi,
how can disable the option "Formula Bar" in the Tools - Options -...?
I already used this:
Application.CommandBars("Worksheet Menu Bar").FindControl(ID:=849,
Recursive:=True).Enabled = False
but it's not enough...

Thanks in advance

Bye
BlackSun
 
B

black_sun

Application.DisplayFormulaBar = false/true

Regards,
Peter T

Hi,
yes I did it but if I choose Tools - Options - I can flag the "Formula
Bar" option and it show again.
I would like to disable that option

Thanks.

BlackSun
 
P

Peter T

Not sure I follow what you mean by "I can flag the Formula Bar option and it
show again". Are you saying you want to disable the option in Options/View.
AFAIK that's not possible unless you disable the Options dialog entirely.
One workaround would be to sub-class the Options button and intercept its
click event, call an ontime macro to set the option to your requirements
when the Options dialog is dismissed.

Regards,
Peter T
 

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

Top