I have a need to password protect one field in a form. I am using this as a manger's approval to start a project. So if the mangager has entered his name in the textbox, then the project can be started. I had found this code:
If InputBox("Please Enter Laboratory Manager Password"
= "goober" Then 'Password correct, so unlock the field
txtfield.Locked = False
Else
'Password incorrect, so lock the field
txtfield.Locked = True
End If
It will let me enter the password but I get an error on the"
txtfield.locked = False
Can anyone help me out?
If InputBox("Please Enter Laboratory Manager Password"

txtfield.Locked = False
Else
'Password incorrect, so lock the field
txtfield.Locked = True
End If
It will let me enter the password but I get an error on the"
txtfield.locked = False
Can anyone help me out?