I have a loop that each time generate a optionbutton dynamic:
Dim opt_btn as OptionButton
Set opt_btn = Me.Controls.Add("Forms.OptionButton.1", "optid" & i)
(where i changes each time in the loop, 1,2,3..)
How do I do to add a clickevent on these optionbuttons ?
If the OptionButton was...