C
Chip
I have written the following code to have a code password protected but i
need to allow the user to change the password if they need to. I have not
been able to get code to allow this. The current password for this code is
'9ii9'- Can someone help???
______
Private Sub Form_Open(Cancel As Integer)
Dim strResponse As String
strResponse = InputBox("Enter the password")
If strResponse = "" Then
Cancel = True
ElseIf strResponse <> "9ii9" Then
Cancel = True
MsgBox "Password incorrect. Entry denied."
End If
End Sub
______
need to allow the user to change the password if they need to. I have not
been able to get code to allow this. The current password for this code is
'9ii9'- Can someone help???
______
Private Sub Form_Open(Cancel As Integer)
Dim strResponse As String
strResponse = InputBox("Enter the password")
If strResponse = "" Then
Cancel = True
ElseIf strResponse <> "9ii9" Then
Cancel = True
MsgBox "Password incorrect. Entry denied."
End If
End Sub
______