Check Boxes!

C

Chris Darnell

Here is a code snippet that should point you in the right direction:

Dim i As Integer
Dim objControl As Control

For i = 0 To Me.Controls.Count - 1
Set objControl = Me.Controls.Item(i)
If (objControl.ControlType = acCheckBox) Then
Debug.Print objControl.Value
End If
Set objControl = Nothing
Next

Hope that helps!

Chris Darnell
http://www.darnellc.com
 

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