Desselecting Option buttons in a Option Group

  • Thread starter Thread starter Ayo
  • Start date Start date
A

Ayo

How do I unselect all the option buttons in an Option Group so that no option
button is selected?
 
If you want it empty when you start, clear the DefaultValue property on the
Data tab of the Property Sheet.

If you want to clear it at runtime, use some code like:

Private Sub Frame21_Click()
Me.Frame21 = Null
End Sub

and when you click on the option group frame, it will clear all values.
Remember to use your own control name.
 
Back
Top