[EXCEL] Invisible sheet / password
Solved
Eddydiver
-
GREG -
GREG -
Hello,
I would like a sheet in my workbook to be visible only when the password for that sheet has been entered.
I know how to lock a sheet so that it cannot be modified without a password, but I would like to go further by preventing a user from seeing its content as well.
How can I do that?
Thank you in advance for your help ;)
Edouard
I would like a sheet in my workbook to be visible only when the password for that sheet has been entered.
I know how to lock a sheet so that it cannot be modified without a password, but I would like to go further by preventing a user from seeing its content as well.
How can I do that?
Thank you in advance for your help ;)
Edouard
5 réponses
Hello,
If it's just a matter of easily hiding and showing a sheet, there's no need for VBA, especially if you're targeting multiple users:
- Format Menu, Sheet => Hide
- Tools, Protection => Protect Workbook (Structure) => Password
To show the sheet =>
- Tools, Protection => Remove Workbook Protection => Password
- Format Menu, Sheet => Show
Workbook protection protects the structure of the workbook, thus preventing the insertion, renaming, deletion, or moving of a sheet. If that's not an issue, it's the simplest solution.
m@rina
If it's just a matter of easily hiding and showing a sheet, there's no need for VBA, especially if you're targeting multiple users:
- Format Menu, Sheet => Hide
- Tools, Protection => Protect Workbook (Structure) => Password
To show the sheet =>
- Tools, Protection => Remove Workbook Protection => Password
- Format Menu, Sheet => Show
Workbook protection protects the structure of the workbook, thus preventing the insertion, renaming, deletion, or moving of a sheet. If that's not an issue, it's the simplest solution.
m@rina