sassriverrat
Well-known Member
- Joined
- Oct 4, 2018
- Messages
- 655
Good Afternoon,
I have an input box that shows a veryhidden sheet. I'm trying to use Cell B23 on Developer sheet as the password (so the password can be easily changed). This code worked perfectly when the password was just typed in the coding itself but now trying to reference the developer sheet it isn't working. Ideas?
I have an input box that shows a veryhidden sheet. I'm trying to use Cell B23 on Developer sheet as the password (so the password can be easily changed). This code worked perfectly when the password was just typed in the coding itself but now trying to reference the developer sheet it isn't working. Ideas?
Rich (BB code):
Private Sub CommandButton2_Click()mypass = Application.InputBox("Enter Password", "The Coding Sheets")
If mypass = Worksheets("Developer").Range("B23:E23").Value Then
Sheets("Developer").Visible = True
Sheets("Developer").Select
Sheets("Notes").Visible = True
Application.Visible = True
End If
Unload Me
End Sub