display option group programmatically

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.
 
D

Douglas J. Steele

Private Sub MyCheckbox_OnClick()

Me.MyOptionGroup.Visible = Me.MyCheckbox

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top