Hi,
I have an excel worksheet with 3 checkboxes. I want only one checkbox to be selected at a time.
I have below code in standard module and assigned it to all 3 checkboxes. However when i run the code i get Run Time Error 438 Object doesnt' support this property or method error.
Can anyone help me with this issue?
Please see attached file
Thanks
I have an excel worksheet with 3 checkboxes. I want only one checkbox to be selected at a time.
I have below code in standard module and assigned it to all 3 checkboxes. However when i run the code i get Run Time Error 438 Object doesnt' support this property or method error.
Can anyone help me with this issue?
Please see attached file
Code:
Private Sub CheckBox1_Click()
If CheckBox1.Value = True Then
CheckBox2.Value = False
CheckBox3.Value = False
End If
End Sub
Thanks
Attachments
Last edited: