Hi everyone,
I have an excel sheet with three checkboxes, of which one is selected (checkbox.value = true) and the others not. Selecting one checkbox shall deselect the other ones (and do some other stuff that is not relevant here).
I tried this:
My problem is that checkbox_Click() is also triggered if the checkbox-value is changed via VBA, resulting in a loop with the checkboxes selecting and deselecting each other.
So, I am looking for an alternative Trigger event for the Sub, but I can't think of anything that would work.
Thanks in advance.
I have an excel sheet with three checkboxes, of which one is selected (checkbox.value = true) and the others not. Selecting one checkbox shall deselect the other ones (and do some other stuff that is not relevant here).
I tried this:
Code:
Private Sub checkbox1_Click()
checkbox1.value = True
checkbox2.value = False
checkbox3.value = False
End Sub
So, I am looking for an alternative Trigger event for the Sub, but I can't think of anything that would work.
Thanks in advance.