C
Carlo
Hi
I have checkboxes names chk1, chk2, chk3 etc
I need to count the number of checkboxes that have been ticked.
I was hoping to loop through the checkboxes by using:
for i = 1 to 40
if chk(i).checked = true then
total += 1
end
next
But the problem it seems is with chk(i). How do I loop through a
control name using a variable such as i?
Thanks
carlob1
I have checkboxes names chk1, chk2, chk3 etc
I need to count the number of checkboxes that have been ticked.
I was hoping to loop through the checkboxes by using:
for i = 1 to 40
if chk(i).checked = true then
total += 1
end
next
But the problem it seems is with chk(i). How do I loop through a
control name using a variable such as i?
Thanks
carlob1