RichCowell
Board Regular
- Joined
- Dec 5, 2013
- Messages
- 121
- Office Version
- 365
- Platform
- Windows
Hi,
I know it's possible to password protect Macros from viewing / editing the code, but is it possible to password protect them from running?
I've got two macros assigned to buttons, one to Protect all worksheets with a password, the other to unprotect them, with the password... But I'd like to prompt for one password before running the unprotect macro, so other users can't just click that to do them all... but I want it to be able to quickly edit it I need to without entering the password each time...
I know it's possible to password protect Macros from viewing / editing the code, but is it possible to password protect them from running?
I've got two macros assigned to buttons, one to Protect all worksheets with a password, the other to unprotect them, with the password... But I'd like to prompt for one password before running the unprotect macro, so other users can't just click that to do them all... but I want it to be able to quickly edit it I need to without entering the password each time...