How do I select an option button using code

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

Ayo

I have an option group with two option button. I am trying to select one of
them using code. I tried:
Me.OptProject.Enabled=True
and
Me.OptProject.SetFocus
Neither worked. Any ideas?
Thanks
Ayo
 
Hi,

Did you check its name ...

OptionButton1 or OptionButton2 ...

HTH
 

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

Back
Top