Is there any VBA function that can be called to sort an array?
F Frank Kabel Oct 5, 2004 #2 Hi there's no build-in function. One workaround: - place your data in a worksheet range - sort the range usings Excel' sort features - read the data into your array
Hi there's no build-in function. One workaround: - place your data in a worksheet range - sort the range usings Excel' sort features - read the data into your array
B BillCPA Oct 6, 2004 #4 The code at tinyurl looks good, but it is all from 1998. Have there not been any code improvements to VBA since 1998 that might improve performance?
The code at tinyurl looks good, but it is all from 1998. Have there not been any code improvements to VBA since 1998 that might improve performance?
F Frank Kabel Oct 6, 2004 #5 Hi not really The code should work without any issues in the newer Excel versions
M Myrna Larson Oct 6, 2004 #6 There have been functions added to VBA since 1998 (Join, Split, Replace come to mind), but sorting isn't one of them.
There have been functions added to VBA since 1998 (Join, Split, Replace come to mind), but sorting isn't one of them.