I think I have this here I have made it a point to see that this also works with 2d matrix , I mean it just the same code with a different logic , as the bi-dimensional array can also be called as two dimensional array. Here is what I have made till know I hope it works for you
dim Row as new Row1
Code:
dim p,q,r as Integer
for p=1 to 20
for q=1 to 8
tempRow.myRow.Append(str(p)+","+str(q))
next q
for r=0 to tempRow.myRow.Ubound-1
redim MyArray.BiMatrix(UBound(myArray.BiMatrix)+1)
MyArray.BiDiMatrix(k).myRow.append =tempRow.myRow(k)
next r
redim TempRow.myRow(-1
next p
Bookmarks