simple checkboxes
Posted by Gerhard on October 31, 2001 4:54 AM
Hi,
I can't get the following (very simple) code working.
I have an empty sheet with only 1 checkbox and the
following macro.
The error code says "Object Required". This is strange
since there is a checkbox (with number 1...)
Solutions???
Private Sub test()
If CheckBox1.Value = True Then
Cells(1, 1) = "True"
Else
Cells(1, 1) = "False"
End If
End Sub