I have a piece of code written in Visual Basic:
Dim n As Double, i As Integer
n = 4
Dim Ramp_length(1 To 4) As Double
For i = 1 To n
Ramp_length(i) = Cells(13 + i, 5)
'Cells(65 + i, 7) = Ramp_length(i)'
Next i
Is there a way to reproduce the result without declaring a fixed-length array? Ultimately, I want the code to read a column with an unknown length and store it in an array of equal or shorter length so that it can be changed. This is just part of the code ... if someone can help me, it will be great !: D
thank
source
share