M
Matt
I'm in the process of constructing a workbook where only certain people will
have access to certain worksheets within the workbook. Depending on the
user, I want some worksheets to be unviewable.
The best way I've found to implement this idea is to hide the various
worksheets (Format -> Sheet -> Hide) and then password protect the workbook.
Then, I've created macro functions that prompts the user for a password.
(This is not the same password used to protect the workbook.) When the
password is entered, the function unprotects the workbook, unhides the target
worksheet, and protects the workbook again - so that the target worksheet can
be viewed.
This seems to work simply enough. My problem is that I'm not sure how to
store the passwords. This workbook will need to be accessed by as many as 20
different people, each of whom will have access to their own worksheet
requiring it's own unique password. Because of the multiple passwords, I
need a way to store all of the password information and pull the data when a
user enters a password (Without the password being visible anywhere in the
workbook).
Any help or suggestions would be greatly appreciated. Thank you.
have access to certain worksheets within the workbook. Depending on the
user, I want some worksheets to be unviewable.
The best way I've found to implement this idea is to hide the various
worksheets (Format -> Sheet -> Hide) and then password protect the workbook.
Then, I've created macro functions that prompts the user for a password.
(This is not the same password used to protect the workbook.) When the
password is entered, the function unprotects the workbook, unhides the target
worksheet, and protects the workbook again - so that the target worksheet can
be viewed.
This seems to work simply enough. My problem is that I'm not sure how to
store the passwords. This workbook will need to be accessed by as many as 20
different people, each of whom will have access to their own worksheet
requiring it's own unique password. Because of the multiple passwords, I
need a way to store all of the password information and pull the data when a
user enters a password (Without the password being visible anywhere in the
workbook).
Any help or suggestions would be greatly appreciated. Thank you.