Password protect a Checkbox

IainG

Registered User.
Local time
Today, 15:17
Joined
May 6, 2009
Messages
25
Can anyone tell me if its possible to password protect a Checkbox?:confused:
 
yes, just put validation in the beforeupdate event.
 
This is the Validation that I have but Checkbox still changes regardless of password!

Private Sub Locked_BeforeUpdate(Cancel As Integer)
If InputBox("You must provide the correct password to Lock or Unlock an Estimate!", "Password Input") <> "Test" Then
MsgBox "Wrong Password Entered. Operation aborted!", vbCritical
End If
End Sub
 
you need cancel=true within your if statement.
That is what cancels the update.
 

Users who are viewing this thread

Back
Top Bottom