Options Button?? Anyone?

N

N.F

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
 
S

Sue Mosher [MVP-Outlook]

OptionButton1.Value will always return True. Maybe you need an OptionButton2_Click handler as well?
 
Top