Hello,
What I'm trying to do is probably best if a multi-dimensional array is used, but I want to keep it as simple as possible, and I think this is simpler... at least for me.
Okay, so I have Row #1 with 12 cells of data.
I want to put this into an array, which is simple enough: Dim row1array(1 to 12) as string
But say I have 12 ROWS, and I want to dynamically create the array names.
1) Is there a way to do this in the "DIM" declaration inline?
2) Or even if I created the names first in a separate for loop... how would I dereference the string variable I created in the DIM declaration?
i.e.
for loop creates the following array names:
row1array
row2array
row3array
This names are temporarily stored in the variable "myTempArrName"
Now when i tried to declare my array I want to do the following:
Dim myTempArrName(1 to 12) as string <== How to I deference myTempArrName to actually make the array row1array(1 to 12), row2array(1 to 12), etc...
Many thanks
Bookmarks