Now my solution is in no way a solution to what you asked for, but it is an alternative solution to multiple users that does not even require them to enter a password, but is based on their usernames. So Excel will know who accesses the spreadsheet with the code below. This requires your sheet to have a sheet called Users with three colomns
User Shortname User Fullname accesslevel
The user Shortname is the Environ("username") which you can find out by running a simple msgbox Environ("username") code.
The User Fullname is the name of your colleague/employee/friend that will be displayed when they open the file
The access level you set yourself but has to be either:
Full access (ie edit, delete rows etc)
Full access but no deletion capability
Autofilter access, edit access, no delete ability
See the code below and you can change or add more options.
Bookmarks