Hi,
I have a spreadseet that records people's leave. The people using them are staff and their managers. The staff are only able to complete certain cells (the rest are locked with a password) for obvious reasons.
When someone puts in a leave request the manager needs to go into the file and give their decison using a drop down list in a specified colunmn. I have added a column to the left of this one so that I can add a maker when the manager has selected their decision (options are Blank, Approved, Rejected, Cancelled). This column places an X in the cell if the decision column has an entry (if it is blank an X won't appear). I'm not sure if this is really necessary but it seemed an easy way to identify which rows should be locked.
What I need to do is lock the row once the manager has made their decision so that staff cannot go back in a change the dates etc which at the moment they could do.
The issue I am having is mainly with the password proection that the workbook must have.
1) I need something that will allow managers to have their own passwords i.e. I can't put the password in the code as it is not a constant.
2) The code I have found so far seems to lock the row but it password protects once you make a decision so if a manger has another row they need to give a decision for they have to unprotect again each time so it seems really clunky!
Any help would be greatly appreciated!
Bookmarks