Can someone help me with this, I need VBA code for one OptionButton to change a stete of another OptionButton. Example: If in Group 1 is selected OptionButton1 then in Group 2 must be selected OptionButton2 otherwise I have conflict in my code. I use this code to show or hide rows and this is example of code I use.

Sub testCode()
Set OptBtns = Me.OptionButtons
Rows("10:20").EntireRow.Hidden = Not (OptBtns("Gumb mogućnosti 1").Value = 1)
Rows("21:30").EntireRow.Hidden = Not (OptBtns("Gumb mogućnosti 2").Value = 1)
Rows("31:40").EntireRow.Hidden = Not (OptBtns("Gumb mogućnosti 3").Value = 1)
End Sub
And in this code I need to "Gumb mogućnosti 1" have value "2" if "Gumb mogućnosti 3" have value "1".
Anyone have any idea?