samohtwerdna
04-17-2006, 11:59 AM
I have a series of text boxes that hold $ amonts for each day they are named txtTotal1 through txtTotal37.
I would like to loop through them and total the first seven (1-7)
then
loop through them again and total the next seven (8-14)
and yep, then next seven (15-21)
you get the picture by now. The reason I have only 37 text boxes as opposed to 35 or 42 is that on any given month there is only 37 possible - which makes week 6 only two days long.
Anyway, can anyone help me set up a loop or a few loops for the above calculation?
: pray2:
I would like to loop through them and total the first seven (1-7)
then
loop through them again and total the next seven (8-14)
and yep, then next seven (15-21)
you get the picture by now. The reason I have only 37 text boxes as opposed to 35 or 42 is that on any given month there is only 37 possible - which makes week 6 only two days long.
Anyway, can anyone help me set up a loop or a few loops for the above calculation?
: pray2: