Hello group,
First post!
I am looking for a way to use 2 optionbuttons in vba.
The option buttons are in different groups, and are independent.
I cannot get this to work. Is this even possible?
In sheet1, the vba would read something like this.
Thanks,
Kyp
First post!
I am looking for a way to use 2 optionbuttons in vba.
The option buttons are in different groups, and are independent.
I cannot get this to work. Is this even possible?
In sheet1, the vba would read something like this.
Code:
Private Sub OptionButton1_Click()
If OptionButton1.Value = true And OptionButton2.Value = True Then
Range("A1") = "Good"
End If
End Sub
Kyp