pyoung9890
New Member
- Joined
- Feb 2, 2007
- Messages
- 4
I have a list of all staff (9000 plus rows) in OneDrive which is sorted by employee number’ I have already got the macro to sort these by faculty, school, and manager then individual on opening. It is possible that a manager will change an individual's reporting so could ‘move’ from her/his viewable range to another managers viewable range so range naming would need to be dynamic hence this sort on opening.
I now want to hide it all and only allow access to a manager to those rows (named range) that are his/her staff and would like VBA to determine these ranges based upon manager and again by school. Want to do this with username and perhaps a password personal to him and that all passwords are read from a list somewhere in the workbook.
Managers will then make some changes to his data and I’d like at each ‘save’ him/her to be asked if (s)he has completed her/his review, if ‘no’ the spreadsheet is saved, if ‘yes’ it is saved and an email sent to a supervising manager to say user xx has completed her/his review (using Flow/Teams perhaps).
Also considering if at this point the password should change and the manager be locked out of further changes
Completely new to VBA but reasonable at excel so hoping to use this as a learning. Any ideas?
I now want to hide it all and only allow access to a manager to those rows (named range) that are his/her staff and would like VBA to determine these ranges based upon manager and again by school. Want to do this with username and perhaps a password personal to him and that all passwords are read from a list somewhere in the workbook.
Managers will then make some changes to his data and I’d like at each ‘save’ him/her to be asked if (s)he has completed her/his review, if ‘no’ the spreadsheet is saved, if ‘yes’ it is saved and an email sent to a supervising manager to say user xx has completed her/his review (using Flow/Teams perhaps).
Also considering if at this point the password should change and the manager be locked out of further changes
Completely new to VBA but reasonable at excel so hoping to use this as a learning. Any ideas?