Posted on January 4, 2009
1
2
3
4
5
6
7
8
| 'Controls - How to check which option button is selected in a group of option buttons with one line of code
' A module-level variable
Dim optFrequencyIndex As Integer
Private Sub optFrequency_Click(index As Integer)
' Remember the last button selected.
optFrequencyIndex = index
End Sub |