sassriverrat
Well-known Member
- Joined
- Oct 4, 2018
- Messages
- 655
Good Morning!
I'm trying to use a cell as the password for a workbook. Basically, I want the password easily changeable for a user- so a hidden sheet (Developer) houses a cell that has the password put in. If a user wants to change the vba password (that unlocks sheets and such), all the user must do is show the Developer sheet and then change the password in the cell. I know the .text extension isn't correct but I wasn't sure which ending - assuming this piece of code would work.
thanks
I'm trying to use a cell as the password for a workbook. Basically, I want the password easily changeable for a user- so a hidden sheet (Developer) houses a cell that has the password put in. If a user wants to change the vba password (that unlocks sheets and such), all the user must do is show the Developer sheet and then change the password in the cell. I know the .text extension isn't correct but I wasn't sure which ending - assuming this piece of code would work.
thanks
Code:
Dim pass123 As Double
pass123 = Sheets("Developer").Range("B16:E16").Text