Dear Members,
I have a problem with the following code.
The problem is that I only get the same numbers in the cells D6 through D109.
You pros go any ideas?
Thanks,
Jerome
I have a problem with the following code.
Code:
Dim i As Integer
Dim startValue As Long
Dim lMyArray(1 To 103) As Long
startValue = 35
For i = 1 To 103
lMyArray(i) = startValue + (i * 5)
oXLSheet.Range("D6:D109").Value = lMyArray(i)
Next i
The problem is that I only get the same numbers in the cells D6 through D109.
You pros go any ideas?
Thanks,
Jerome