I am trying to slice an array into several different arrays (into i arrays), Like this:
Dim a As Double
Dim i,u,e,Number As Integer
Dim BigArray As Double
Redim BigArray(a,3)
For i=0 to Number-1
Dim Arrayi() as Double
redim Arrayi(0 to Round((i+1)*a/Number,0)-Round(i*a/Number,0)-1,3)
For e=0 to 3
For u=0 to UBound(Arrayi())
Arrayi(u,e)=BigArray(u+Round(i*a/Number,0),e)
Next u
Next e
Next i
Now this works if I manually declare my arrays "Arrayi" and do not loop for i, but I would like to know if there was a way to be able to declare "Array0", "Array1" etc automatically.
The numbers of Array I will need will change from project to project, and having to manually declare them and assign them values is a huge time waste.
Thanks for your help!