Options Button?? Anyone?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can anyone help me out with this code that I want to put in. I think it makes
sense because this works for a checkbox button but it doesnt work for an
option Button

Private Sub OptionButton1_Click()
Me.TextBox1.Enabled = Not Me.OptionButton1.Value
Me.TextBox2.Enabled = Not Me.OptionButton1.Value
End Sub
 
OptionButton1.Value will always return True. Maybe you need an OptionButton2_Click handler as well?
 
Back
Top