Home |
Search |
Today's Posts |
#17
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
After serious thinking Andrew wrote :
I would think that it would be faster to sort through an array than a range, but clearly this is not true. Well, that depends on how you do it. Clearly there are fast ways and slow ways, and so if it took as long as you say it did then I suspect you used a slow way. For sure, if at least one of your arrays wasn't sorted, it would take a significant amount of time to process. Far less time if 1 array is sorted. Orders of magnitude less time if both arrays are sorted. Regardless, built-in Excel functions will almost always perform much faster than VBA will and so if Rick's suggestion works for you I'd be inclined to use it over VBA. -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find Min and Max in variable length arrays | Excel Programming | |||
Compare two arrays in VBA to find dupes | Excel Programming | |||
Arrays - declaration, adding values to arrays and calculation | Excel Programming | |||
UNION of Arrays - is possible? | Excel Discussion (Misc queries) | |||
Where can I find a template for a Credit Union account? | Excel Discussion (Misc queries) |