D
David
How can a make the password on just a field show up as *
when it is keyed in? This is what I am using now, but
when the password is keyed in the actual password "temp"
is visible.
Private Sub Z2SP_GotFocus()
Dim MsgStr As String, PassStr As String
MsgStr = "Enter your password."
PassStr = InputBox(Prompt:=MsgStr) ', Title:="User
Info", XPos:=100, YPos:=100)
Z2SP.Locked = True
If PassStr = "temp" Then
Z2SP.Locked = False
Else
MsgBox "Incorrect password"
End If
End Sub
when it is keyed in? This is what I am using now, but
when the password is keyed in the actual password "temp"
is visible.
Private Sub Z2SP_GotFocus()
Dim MsgStr As String, PassStr As String
MsgStr = "Enter your password."
PassStr = InputBox(Prompt:=MsgStr) ', Title:="User
Info", XPos:=100, YPos:=100)
Z2SP.Locked = True
If PassStr = "temp" Then
Z2SP.Locked = False
Else
MsgBox "Incorrect password"
End If
End Sub