B
Brad
I have about ten checkboxes in a group box and there are about five
different types of group boxes on a form.
Why will this not work?
//
For Each c As CheckBox In gbAGD1.Controls
If c.Checked = True Then agFlag = True
Next
\\
I get a cast error.
What I want to do is instead of writing a line for each checkbox, just
iterate through the collection and see if one is checked.
Thanks for the information.
Brad
different types of group boxes on a form.
Why will this not work?
//
For Each c As CheckBox In gbAGD1.Controls
If c.Checked = True Then agFlag = True
Next
\\
I get a cast error.
What I want to do is instead of writing a line for each checkbox, just
iterate through the collection and see if one is checked.
Thanks for the information.
Brad