Change Option Button Property Value with VBA

  • Thread starter Thread starter Jm
  • Start date Start date
J

Jm

Hi,

I need to mirror the Value of a Option Button (List2) when Option Button
(List1) is clicked on.

Note: List1 and List2 are in different Option Button Groups.

The code below give me an "Object Required" error.

What do I need to change?

Private Sub List1OB_Click()
With Object.List2OB
.Value = True
End With
End Sub

Thanks,
Jim
 

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