K
KneeDown2Up
I have a number of text boxes (ibox1 - ibox28) all holding data inputed via a
userform. To capture this data I potentially (with my knowledge) need this;
Sheet19.Cells(5, c) = Sheet19.Cells(5, c) + ibox1.Value
Sheet19.Cells(6, c) = Sheet19.Cells(5, c) + ibox2.Value
...and so on.
I would like to be able to run this within a 'For/Next' loop but keep coming
up against problems.
For i = 1 to 28
Sheet19.Cells(5, c) = Sheet19.Cells(5, c) + ibox(i).Value
next i
Why is this? What can I do to make this principle work?
Any help appreciated, thanks.
userform. To capture this data I potentially (with my knowledge) need this;
Sheet19.Cells(5, c) = Sheet19.Cells(5, c) + ibox1.Value
Sheet19.Cells(6, c) = Sheet19.Cells(5, c) + ibox2.Value
...and so on.
I would like to be able to run this within a 'For/Next' loop but keep coming
up against problems.
For i = 1 to 28
Sheet19.Cells(5, c) = Sheet19.Cells(5, c) + ibox(i).Value
next i
Why is this? What can I do to make this principle work?
Any help appreciated, thanks.