Hello Expert,
I have a code below with inputbox. I would like to have format *** when I type in the box instead of word. So Please help. I did not know.
Thanks alot
Mai Le
I have a code below with inputbox. I would like to have format *** when I type in the box instead of word. So Please help. I did not know.
Thanks alot
Mai Le
Code:
Private Sub Command19_DblClick(Cancel As Integer)
On Error GoTo Err_Command19_Click
Dim Password As String
Dim stDocName As String
Dim stLinkCriteria As String
Password = InputBox("Please enter the password")
If (Password = "123") Then
stDocName = "Parts"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Else
MsgBox "Incorrect Password"
End If
Exit_Command19_Click:
Exit Sub
Err_Command19_Click:
MsgBox Err.Description
Resume Exit_Command19_Click
End Sub
Comment