Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel: problem showing Formulabar

Status
Not open for further replies.

Johnomill

Technical User
Dec 19, 2001
19
NL
I have a workbook and i'm hiding al commandbars at startup. When i close the workbook all the commandbars are set to the normal value. This works except for my formulabar.

this is my code:

Dim Bar As Object
For Each Bar In Application.CommandBars
Bar.Enabled = True
Next Bar
Application.DisplayFormulaBar = True


The strange thing is that i have a macro to restore the commandbars and leave my workbook open. When i run this macro, my formulabar gets visible. The code in this macro is exactly the same as in my 'close'-macro and is as shown above.

Perhaps somebody knows what causes this strange problem.

Many thanks!

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top