ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hide selected worksheet tabs (https://www.excelbanter.com/excel-programming/318157-hide-selected-worksheet-tabs.html)

J. T. SYLVESTER SR.

Hide selected worksheet tabs
 
Is there a way to hide selected worksheet tabs while leaving others
visible to the user. Excel 2003

Paul B

Hide selected worksheet tabs
 
J.T. go to format sheet hide, to unhide go to format sheet unhide, you can
also hide the sheet with code or in the VBA editor under properties so you
can't see the sheet from the format unhide menu in code use something like
this

Sub Hidesheet()
Sheets("Sheet3").Visible = xlSheetVeryHidden
End Sub

Sub Unhidesheet()
Sheets("Sheet3").Visible =xlSheetVisible
End Sub


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"J. T. SYLVESTER SR." wrote in message
om...
Is there a way to hide selected worksheet tabs while leaving others
visible to the user. Excel 2003





All times are GMT +1. The time now is 04:23 PM.

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