i have a form with 60 textboxes named I1- I60
i need a for statement that will loop through and populate my excel spreadsheet
for this example
I1=54.25
I2=38.16
so far i have this which works but is not looping correctly
For a = 7 To 8
For b = 1 To 2
xlSheet.Range("d" & a) = Me("I" & b)
Next b, a
once i run the code
excel shows
d7 = 38.16
d8 = 38.16
i need a for statement that will loop through and populate my excel spreadsheet
for this example
I1=54.25
I2=38.16
so far i have this which works but is not looping correctly
For a = 7 To 8
For b = 1 To 2
xlSheet.Range("d" & a) = Me("I" & b)
Next b, a
once i run the code
excel shows
d7 = 38.16
d8 = 38.16