Kittysback
New Member
- Joined
- Mar 26, 2012
- Messages
- 1
Hello
I have a workbook (excel 2007) and would like to make sure that users need to enter a password when they open the file to be able to edit certain cells.
Currently without a macro, if someone has the password, they can unlock the cells and edit the document, but if they forget to protect the sheet when closing it, the document will be unprotected when the next person opens it. Even if the next person doesn't have the password they will be able to edit cells which should be locked to them.
Can someone advise a macro which would ensure that certain cells are already password protected WHENEVER the file is opened (regardless of whether or not last user protected the file before closing)?
Many thanks in advance
I have a workbook (excel 2007) and would like to make sure that users need to enter a password when they open the file to be able to edit certain cells.
Currently without a macro, if someone has the password, they can unlock the cells and edit the document, but if they forget to protect the sheet when closing it, the document will be unprotected when the next person opens it. Even if the next person doesn't have the password they will be able to edit cells which should be locked to them.
Can someone advise a macro which would ensure that certain cells are already password protected WHENEVER the file is opened (regardless of whether or not last user protected the file before closing)?
Many thanks in advance