I want to hide the ribbon / formula bar just in one excel workbook. I have used the following code in THISWORKBOOK in VBA.
It does hide them but if I open up another workbook it does the same to that workbook and excel itself seems to default to this.
Any help would be appreciated.
David
Private Sub Workbook_Open()
Application.ScreenUpdating = False
Application.ExecuteExcel4Macro "Show.ToolBar(""Ribbon"",False)"
Application.DisplayFormulaBar = False
Sheets("MainMenu").Select
Application.ScreenUpdating = True
End Sub
It does hide them but if I open up another workbook it does the same to that workbook and excel itself seems to default to this.
Any help would be appreciated.
David
Private Sub Workbook_Open()
Application.ScreenUpdating = False
Application.ExecuteExcel4Macro "Show.ToolBar(""Ribbon"",False)"
Application.DisplayFormulaBar = False
Sheets("MainMenu").Select
Application.ScreenUpdating = True
End Sub