Опубликовано: 17 Октябрь 2024 на канале: InAnOffice
2,479
8
Learn how to validate UserForm CheckBox in Excel VBA.
The code used in this video:
Private Sub cbOK_Click()
If Not cbAgreeTC.Value Then
MsgBox "You must agree Terms and Conditions"
Exit Sub
End If
End Sub