Hi, All,
I want to asign a password for user to open the form, but I don't know how to asign password to user and where I can store password??
The following are my codes:
Private Sub Form_Open()
Dim strPsd as String
strPsd = InputBox("Please enter the password:"
IF strPsd <> "Your Password" then
Cancel = -1
End If
End Sub
Your suggestion will be very helpful. Thanks
Lynda
I want to asign a password for user to open the form, but I don't know how to asign password to user and where I can store password??
The following are my codes:
Private Sub Form_Open()
Dim strPsd as String
strPsd = InputBox("Please enter the password:"
IF strPsd <> "Your Password" then
Cancel = -1
End If
End Sub
Your suggestion will be very helpful. Thanks
Lynda