Dear All
I have been using the following code to turn on and off the Formula Bar when a specific workbook containing one sheet is opened and closed.
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.DisplayFormulaBar = True
End Sub
Private Sub Workbook_Open()
Application.DisplayFormulaBar = False
End Sub
However, I now have a need to turn it off for this one particular sheet but turned back on for other new sheets in the same workbook. Can this be achieved?
As always many thanks for any help you can provide.
Lapta301
I have been using the following code to turn on and off the Formula Bar when a specific workbook containing one sheet is opened and closed.
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.DisplayFormulaBar = True
End Sub
Private Sub Workbook_Open()
Application.DisplayFormulaBar = False
End Sub
However, I now have a need to turn it off for this one particular sheet but turned back on for other new sheets in the same workbook. Can this be achieved?
As always many thanks for any help you can provide.
Lapta301