ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Password to hide and unhide sheets (https://www.excelbanter.com/excel-programming/272448-password-hide-unhide-sheets.html)

patrick molloy

Password to hide and unhide sheets
 
There have been quite a few questions this week on this
topic - try search on the NG

Basically, hide all the relevent sheets.
Add a userform - with a text box for the password with
the PasswordChar set to say asterisks. add another
textbox for the username. add an OK button & code it to
test the two entries - success should result in the
worksheets being made visible, while failure might result
in what? the workbook closing

Patrick Molloy
Microsoft Excel MVP
-----Original Message-----
I am looking for a way to hide a sheet for most of the
users. But some of the users should be able to see the
sheets. Therefore I am looking for a macro that unhides
the sheet with a password the selected users knows.

I am all out of ideas, and wondering if somebody knows a
way.

Thanks

Nicolay

.



All times are GMT +1. The time now is 08:39 AM.

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