Accept multiple passwords.
Accept multiple passwords, yet still deny access for wrong password entries.
Rate Accept multiple passwords.
(4(4 Vote))
Dim Pw1 As String
Dim Pw2 As String
Pw1 = "password1"
Pw2 = "password2"
If Text1 = Pw1 Then
MsgBox "you entered the correct password"
Else
If Text1 = Pw2 Then
MsgBox "you entered the correct password"
Else
MsgBox "wrong password, please try again"
End If
End If
Accept multiple passwords. Comments
No comments yet — be the first to post one!
Post a Comment