colinheslop1984
Board Regular
- Joined
- Oct 14, 2016
- Messages
- 129
- Office Version
- 2016
ThisWorkbook.Worksheets("jun payroll").Visible = xlSheetVisible
I am using the code above which unhides a worksheet when a button is clicked.
How do I set it so that a password is required to unhide it?
I am new to VBA so if you could write the code in your response that would be a huge help!
Thanks for help
I am using the code above which unhides a worksheet when a button is clicked.
How do I set it so that a password is required to unhide it?
I am new to VBA so if you could write the code in your response that would be a huge help!
Thanks for help