ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Hide worksheet (https://www.excelbanter.com/excel-worksheet-functions/71497-hide-worksheet.html)

kuansheng

Hide worksheet
 
Hi Guys,

I was wondering if it is possible to hide a worksheet from user view.
and let the worksheet work behind the scene


Norman Jones

Hide worksheet
 
Hi Kuansberg,

Try:
Format | Sheet | Hide

The user will be able to unhide the sheet by using the same menu path.

To hide the sheet more securely would require the use of VBA, e,g:

'=============
Public Sub Tester001()
Dim sh As Worksheet

Set sh = ActiveWorkbook.Sheets("Sheet2")
sh.Visible = xlSheetVeryHidden

End Sub
'<<=============

If you are not familiar with macros, you may wish to visit David McRitchie's
'Getting Started With Macros And User Defined Functions' at:

http://www.mvps.org/dmcritchie/excel/getstarted.htm


---
Regards,
Norman



"kuansheng" wrote in message
oups.com...
Hi Guys,

I was wondering if it is possible to hide a worksheet from user view.
and let the worksheet work behind the scene




kuansheng

Hide worksheet
 
Thanks a million Norman.



All times are GMT +1. The time now is 01:33 AM.

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