'Userform code module
Dim blnRunCheckBoxCode As Boolean
Private Sub CommandButton1_Click()
'set value of blnRunCheckBoxCode to be False so doesn't run Change code!
blnRunCheckBoxCode = False
Me.CheckBox1.Value = True
'reset blnRunCheckBoxCode:
blnRunCheckBoxCode = True
End Sub
'checkbox change code:
Private Sub CheckBox1_Change()
If blnRunCheckBoxCode = False Then Exit Sub 'exits sub if blnRunCheckBoxCode is False
'else: other code that should run
'...
End Sub