display option group programmatically

  • Thread starter Thread starter pedro
  • Start date Start date
P

pedro

Hi,

I have created an option group with it's display property set to 'no'. I
would like to display the option group when a check box is checked (located
on a form beside the option group). The code would activate the option group
on the 'on click' event on the check box. Alternatively, could this be done
through a macro?

thanks for your assistance.
 
Private Sub MyCheckbox_OnClick()

Me.MyOptionGroup.Visible = Me.MyCheckbox

End Sub
 
Back
Top