I have this VBA code on a cmd button that would grant access only to certain users. Can someone tell me how to set the display when entering the password to be #### instead of seeing the actual password please?
Private Sub cmdMasterFiles_Click()
Dim sPW As String
sPW = InputBox("Password", "Password")
If sPW <> "Password01" Then
MsgBox "Invalid Password!", vbCritical
Exit Sub
Else
DoCmd.OpenForm "frmMasterMenu"
DoCmd.Close acForm, "Main Menu"
End If
End Sub