Help with Option Buttons and Frame
Each control has its own events because it is a separate object. If you
want to perform an action based on a click event of the control, the code
must be tied to the control performing the event. So the short answer is
you have to write code for each control.
"Ayo" wrote in message
...
I have a Frame with about 10 Optionbuttons. I am trying to figure out a
way
such that when I click on any of the option buttons, something is done. I
can't figure out how to do this without having to write 10 of this:
Private Sub OptionButton1_Click()
End Sub
Is there a way to do it all in one procedure instead of 10?
Thanks
|