R
Richard Grene
I misstated my earlier post about maximum of 57 controls.
My real question is how to loop through all controls in a form, even if the
control is part of a GroupBox? I want to write some generic code for all my
forms so I don't know ahead of time if the form has any groupbox's. The
following code does not work with groupbox's.
Thanks,
Richard
Dim sControl As Control
For Each sControl In Me.Controls
next sControl
My real question is how to loop through all controls in a form, even if the
control is part of a GroupBox? I want to write some generic code for all my
forms so I don't know ahead of time if the form has any groupbox's. The
following code does not work with groupbox's.
Thanks,
Richard
Dim sControl As Control
For Each sControl In Me.Controls
next sControl