K
kittronald
What is the VB macro code to "check" a Check Box forms control ?
- Ronald K.
- Ronald K.
What is the VB macro code to "check" a Check Box forms control ?
- Ronald K.
Is this the shortest way to test if a Checkbox is already checked ?
Sub TEST()
If Sheet2.CheckBoxes("Check Box 23").Value = False Then
Sheet2.CheckBoxes("Check Box 23").Value = True
Else
Sheet2.CheckBoxes("Check Box 23").Value = True
End If
End Sub
- Ronald K.
Garry,
Got it to work with a little modification.
If Not Sheet2.CheckBoxes("Check Box 23") Then
Sheet2.CheckBoxes("Check Box 23") = True
Thanks again.
- Ronald K.