R
red6000
Hi
I have a userform (called 'ReqsFrm') that contains loads of optionbuttons
and checkboxes
I would like to create some code that writes the name/caption of each of the
elements of the form. Now I can do it by manually producing the code, but
I'm sure there must be some sort of looping code that will do it for me. So
I'm trying do to something like:
Dim OB as OptionButton
For each OB in ReqsFrm
Type name of OptionButton
Type caption of OtionButton
Next OB
and then the same for the checkboxes
Can anyone help.
Thanks
I have a userform (called 'ReqsFrm') that contains loads of optionbuttons
and checkboxes
I would like to create some code that writes the name/caption of each of the
elements of the form. Now I can do it by manually producing the code, but
I'm sure there must be some sort of looping code that will do it for me. So
I'm trying do to something like:
Dim OB as OptionButton
For each OB in ReqsFrm
Type name of OptionButton
Type caption of OtionButton
Next OB
and then the same for the checkboxes
Can anyone help.
Thanks