Hide Formula bar while workbook is open

O

OMER

Hola,
I wonder if there is a way to prevent a user to activate the formula bar
while a specific worbook is open. I hide it inside the openning macro with
the following command:

Application.DisplayFormulaBar = False

But the user can go to the ribon menus and activate it back.
I want it top remain hidden until the workbook is closed.

Thank you for your help.
OMER
 
D

Dennis Tucker

One way to do this, but not too proper is

Sub Workbook_Open()

Again:
Application.DisplayFormulaBar = False
DoEvents ' maybe
use many of these
GoTo Again

End Sub

It should continuously try to remove the formula bar.

Dennis
 

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


Top