ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to Hide Sheet Tabs when workbook Opens (https://www.excelbanter.com/excel-programming/355454-how-hide-sheet-tabs-when-workbook-opens.html)

[email protected]

How to Hide Sheet Tabs when workbook Opens
 
I have a shared workbook that I manage. Users navigate through the
workbook with the links that I built. So I hide the sheet tabs so that
they have to use the built navigation. But when I am making changes or
adding things to the workbook, I show the sheet tabs because I may need
to do something that requires they be visible. But sometimes I forget
to hide them again. What VBA code could I put into the This Workbook
module to automatically hide the sheet tabs when the workbook is opened?


Paul W Smith[_4_]

How to Hide Sheet Tabs when workbook Opens
 
Try:

ActiveWindow.DisplayWorkbookTabs = False

HTH

Paul Smith


wrote in message
oups.com...
I have a shared workbook that I manage. Users navigate through the
workbook with the links that I built. So I hide the sheet tabs so that
they have to use the built navigation. But when I am making changes or
adding things to the workbook, I show the sheet tabs because I may need
to do something that requires they be visible. But sometimes I forget
to hide them again. What VBA code could I put into the This Workbook
module to automatically hide the sheet tabs when the workbook is opened?




[email protected]

How to Hide Sheet Tabs when workbook Opens
 
That did it. Thanks. Couldn't figure it out.



All times are GMT +1. The time now is 09:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com