Forum Discussion
Hiding tabs in excel but retain links to other sheets
- Oct 26, 2024
If manually you may uncheck this setting
Please note, it's on workbook basis, not global.
If by VBA you shall use
ActiveWindow.DisplayWorkbookTabs = False
in macro which NikolinoDE suggested, Application.CommandBars("Workbook Tabs").Visible doesn't work.
Hide the Worksheet Tabs with out VBA:
Go to the File menu in Excel.
Select Options.
In the Excel Options dialog box, go to the Advanced section.
Scroll down to the Display options for this workbook.
Uncheck the box that says Show sheet tabs.
Click OK.
Hide the Worksheet Tabs with VBA:
You can add a macro that re-hides the tabs if a user tries to unhide them:
Private Sub Workbook_Open()
Application.CommandBars("Workbook Tabs").Visible = False
End Sub
This code will run whenever the workbook is opened, ensuring the tabs remain hidden. However, it requires enabling macros.
My answers are voluntary and without guarantee!
Hope this will help you.