Made a userform for basketball pool.
When I click options from different sections .... the previous section
does not stay picked.
I would like each section's button to stay selected when I click on another section.
Hers's some of the code
When I click options from different sections .... the previous section
does not stay picked.
I would like each section's button to stay selected when I click on another section.
Hers's some of the code
Code:
Private Sub OptionButton1_Click()
If OptionButton1 Then myStr = "Kansas"
Range("C2") = myStr
End Sub
Private Sub OptionButton2_Click()
If OptionButton2 Then myStr = "Notre Dame"
Range("C2") = myStr
End Sub
Private Sub OptionButton3_Click()
If OptionButton3 Then myStr = "Purdue"
Range("C2") = myStr
End Sub
Private Sub OptionButton4_Click()
If OptionButton4 Then myStr = "Pitt"
Range("E2") = myStr
End Sub
Private Sub OptionButton5_Click()
If OptionButton5 Then myStr = "Florida"
Range("E2") = myStr
End Sub