Hi,
I have the following problem. I want to put the ordered positions of one dimensional array elements in a two dimensional array. Here's an example:
1d array:
(A,C,D,B,C,E,C,A,K,B)
2d array (every line represents a different letter in the following order: A, B, C, D, E, K)
1 8 . 4 10 . 2 5 7 3 . . 6 . . 9 . .
How would you solve this? I have a very long code for this (because of problems with resizing two dimensional arrays with redim preserve, I have to transpose them first, where sometimes the second dimension gets lost, so that I have to add it again), but without the sorting. Maybe there is something easier.
Thanks!
Bookmarks