Link to home
Start Free TrialLog in
Avatar of Vlad77
Vlad77

asked on

For each ... in ..

I have many checkboxes in my form .
How I can with (for each sentence) check all of them .
Thanks
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

For example:

dim c as control
for each c in controls
  if typename(c) = "Checkbox" then
     debug.print c.name, c.value
  end if
next

CHeers
ASKER CERTIFIED SOLUTION
Avatar of rpai
rpai

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial