M
Martin
How to make INPUTBOX ******, when the users entering the password?
For example, how to change the VBA sentences as follows, to achieve ******
input condition
Private Sub Form_Open(Cancel As Integer)
Dim hold As Variant
hold = InputBox("please input password", "HELLO")
If hold <> "abcd" Then
MsgBox "PASSWORD IS WRONG", , "HELLO"
DoCmd.Close
Else
Exit Sub
End If
Exit Sub
End Sub
Thank you.
For example, how to change the VBA sentences as follows, to achieve ******
input condition
Private Sub Form_Open(Cancel As Integer)
Dim hold As Variant
hold = InputBox("please input password", "HELLO")
If hold <> "abcd" Then
MsgBox "PASSWORD IS WRONG", , "HELLO"
DoCmd.Close
Else
Exit Sub
End If
Exit Sub
End Sub
Thank you.