Click to See Complete Forum and Search --> : counter


APOLLO
January 19th, 2000, 05:21 PM
i need help making a counter for this

chkBoxValues(0) = 0
chkBoxValues(1) = 0
chkBoxValues(2) = 0
chkBoxValues(3) = 0
chkBoxValues(4) = 0
chkBoxValues(5) = 0
chkBoxValues(6) = 0
chkBoxValues(7) = 0
chkBoxValues(8) = 0
chkBoxValues(9) = 0
chkBoxValues(10) = 0
chkBoxValues(11) = 0

Lonely Wolf
January 19th, 2000, 05:31 PM
Please be more specific.

APOLLO
January 19th, 2000, 05:38 PM
chkBoxValues 0-11 have to equal 0 is there a way to shorten the code

Lonely Wolf
January 19th, 2000, 06:32 PM
private sub ...()
dim i as integer

for i = 0 to 11
chkBoxValues(i) = 0
next i
end sub