Hello all--
I need help speeding up the process of comparing two string arrays in order to find matches.
The below code works perfectly, however it is too slow. If the first array contains 5,000 strings and the second array contains 10,000 strings then the process could take well over an hour to complete (which is not good enough). My understanding of VBA programming is limited, however I do understand looping through each array by using nested loops is a common approach that works, but in this instance at least, is inefficient (maybe because it is comparing strings, or maybe an obvious rookie mistake i made?).
Would anyone be able to take this challenge of making this "Find Matches" section faster. Thanks for taking a look.
Note: This part of the code is the comparing/find matches section only, and is the part of my code that takes forever to complete (the declaration and array loading section of my code is not posted)
Please Login or Register to view this content.
Bookmarks