I have a user form in Excel XP with two frames and two groups of option buttons, 17 in the first frame and two in the second frame. To better handle the two groups I assigned the GroupName property for the two groups as well. When I am trying to run this code:
For Each opt In UserForm1.OptionButtons
'do something
Next opt
I get following message 'Method or data member not found' (OptionButtons is highlighted). Any idea what goes wrong?
For Each opt In UserForm1.OptionButtons
'do something
Next opt
I get following message 'Method or data member not found' (OptionButtons is highlighted). Any idea what goes wrong?