I have a worksheet that is 20 columns wide and can contain between 20000 and 30000 rows.
Each row has to be sorted independently of the others.
I tackle this in VBA by selecting each row in turn and using the Excel sort procedure.
With 30000 rows this takes about 5 minutes.
It has occurred to me that it would be much faster if I created an array for the data and then sorted each row of this. I don't think that I will then be able to use the Excel sort procedure though.
Can anyone please suggest a way forward. Is there a VBA Sort command, (I have not found one), for instance.
John
Bookmarks