Accept multiple passwords.
Accept multiple passwords, yet still deny access for wrong password entries.
Original Author: zach smith
Code
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
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.