Good morning
I have VBA to hide the formula bar/scrollbar etc on my spreadsheet.
However, this seems to then replicate this action on any spreadsheets that are opened.
I only need it in a specific workbook only, and I do not want it to affect any other workbooks.
Can anyone please advise if this is:
a) Possible
b) If yes, how to do this.
I have VBA to hide the formula bar/scrollbar etc on my spreadsheet.
However, this seems to then replicate this action on any spreadsheets that are opened.
I only need it in a specific workbook only, and I do not want it to affect any other workbooks.
Can anyone please advise if this is:
a) Possible
b) If yes, how to do this.
Code:
Application.EnableEvents = True
Application.DisplayFormulaBar = False
Application.ExecuteExcel4Macro "Show.ToolBar(""Ribbon"",False)"
Application.DisplayStatusBar = False
ActiveWindow.DisplayWorkbookTabs = False
ActiveWindow.DisplayHeadings = False
Sheets("newmultirate").ScrollArea = "A1:S28"