Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
At the risk of reinventing the wheel, I'm trying to develop a proc to sort a rectangular 2 dim array on any # of columns, ascending or descending on each desired column. In the design I get to where I have to re-order the rows. Say the array is dim'd (10, 5) is there a "shorthand" way to copy a row "as a whole" rather than something like this: For Col = lbound(InputAy, 2) to ubound(InputAy, 2) NewAy(SortedRow, Col) = InputAy(OldRow, Col) Next Col Thanks, Neal Z. -- Neal Z |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Export 1-dimensional array values to a two-dimensional table? | Excel Programming | |||
Changing a two-dimensional, one row array to one-dimensional | Excel Programming | |||
Create One-Dimensional Array from Two-Dimensional Array | Excel Programming | |||
Sort on two columns in two dimensional array | Excel Programming | |||
sort multi-dimensional array on numeric data? | Excel Programming |