I finally got my button to be password protected, but I lost the function of the button.
I want the count (where the #11 is) to back to zero when you hit the reset skid button.
Here is my code that I have:
P
rivate Sub CommandButton2_Click()
Dim MyPassword As String
MyPassword = "zebra"
If InputBox("Please enter password to continue.", "Enter Password") <> MyPassword Then
Exit Sub
End If
End Sub
I want the count (where the #11 is) to back to zero when you hit the reset skid button.
Here is my code that I have:
P
Dim MyPassword As String
MyPassword = "zebra"
If InputBox("Please enter password to continue.", "Enter Password") <> MyPassword Then
Exit Sub
End If
End Sub