Message 1 of 7
Sorting Arrays

Not applicable
12-18-2002
12:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi to All,
I need to sort the contents of a (2) dimensional (table) array before
sending the data to an Excel spreadsheet. The array has (4) columns and may
hold several thousand rows. I need to sort all the rows by the first column
and then by the second column. Any advise on how to tackle this problem? I
was also wondering if I can programatically sort the data in the spreadsheet
through VBA. If so, which way is better, sort the data before sending it to
Excel or sort the data in Excel programatically.
I need to sort the contents of a (2) dimensional (table) array before
sending the data to an Excel spreadsheet. The array has (4) columns and may
hold several thousand rows. I need to sort all the rows by the first column
and then by the second column. Any advise on how to tackle this problem? I
was also wondering if I can programatically sort the data in the spreadsheet
through VBA. If so, which way is better, sort the data before sending it to
Excel or sort the data in Excel programatically.