checkboxes

J

Jarod

Is there a way to loop throuh all the check boxes in a
form to check if they are true or false? How about a
page? Thanks for your help.
 
F

Fredg

Jarod,
It's not a problem, but it would help to know what you wanted to do with the
information.

In a command button Click event:

Dim ctl as Control
For each ctl in Controls
If TypeOf ctl Is CheckBox then
debug.print ctl.Name & " " & ctl.value
End If
Next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top