Question:
I have this 1D array that after i "sort" it using my own sort function the array comes back as 2D. Now how do i know it comes back as 2D.
If i dont do my special sort function i can reference the array as "array_file1(x)" where x is variable.
If i do my special sort function i MUST reference the array as "array_file1(x,1)" where x is variable.
I am enclosing the part of my code that does the sort and does the initializing of the arrays.........
Now in my sort i paste the array into the worksheet and then do the sort then read the worksheet into array. So my guess is reading the worksheet data inot the array is somehow causing this change.........but i dont understand why. Her eis the command i use to store the values into the array from the worksheet
Please Login or Register to view this content.
so my question is why does my array go from 1d to 2d and what command do i need to change to keep it 1d. its not that the 2d is bad its just that this was unexpected and took me a little while to figure out.
Bookmarks