F
Flydianslip
I have 22 CheckBoxes and I want to make sure one of them is required to be
Checked. If not I want a MsgBox to come up.
I'm testing it now, on just one CheckBox but I can't even get this to work.
Private Sub Form_BeforeUpdate(Cancel As Integer)
If Me.Check216 = "No" Then
MsgBox "Please fill in the Job Type"
Cancel = True
End If
End Sub
Any help would be appreciated. Thank you.
Checked. If not I want a MsgBox to come up.
I'm testing it now, on just one CheckBox but I can't even get this to work.
Private Sub Form_BeforeUpdate(Cancel As Integer)
If Me.Check216 = "No" Then
MsgBox "Please fill in the Job Type"
Cancel = True
End If
End Sub
Any help would be appreciated. Thank you.