It is possible to determine how many option buttons are in an option group
by examining its Controls collection.
Loop like this:
For Each ctl In Me.[MyOptionGroup].Controls
Examine the ControlType of each, and count how many are acOptionGroup.
It is not really practical to add more option buttons to the group at
runtime.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Reply to group, rather than allenbrowne at mvps dot org.
JCP said:
Is it possibel for each groupOption to know how many options it has?
Thanks
jcp