s_macloskey
New Member
- Joined
- Jul 1, 2020
- Messages
- 30
- Office Version
- 365
- Platform
- Windows
Hello all,
context:
I have created an employee holiday/leave sheet on (we use Excel 365)
I have made a sheet for each month and they require 'protecting' and 'unprotecting' seperately/individually - with a password
query:
My team is not so computer literate so, I need to create an easy to use Marco/VBA Button(s) which will protect (and unprotect) the worksheet and prompt for a password, the same way it would if you were to go to "Review, Protect worksheet"
I have tried creating a button and using VBA, and I've had a tiny amount success but I'm new to VBA and it's a bit of a mess.
*I've attached a screenshot for reference*
Can anyone provide any assistance?
Thanks,
S Macloskey
context:
I have created an employee holiday/leave sheet on (we use Excel 365)
I have made a sheet for each month and they require 'protecting' and 'unprotecting' seperately/individually - with a password
query:
My team is not so computer literate so, I need to create an easy to use Marco/VBA Button(s) which will protect (and unprotect) the worksheet and prompt for a password, the same way it would if you were to go to "Review, Protect worksheet"
I have tried creating a button and using VBA, and I've had a tiny amount success but I'm new to VBA and it's a bit of a mess.
*I've attached a screenshot for reference*
Can anyone provide any assistance?
Thanks,
S Macloskey