Actually..
I realized this code is backwards.
The way its written now, it loads 257 variables into an array and then it searches each and every cell in the range for a match from those 257 variables.
When i first wrote this, it was 16 variables, but now the code wont work anymore (it takes forever).
Is there a way to do the other way around?
Check every cell in range to see it the value in that cell exists in the array?
Or as an alternative skip cells that are empty?
The range should really be dynamic, but it can grow horizontally or vertically (or both) so i'm not sure which method to use last cell by rows of colums? Or it doesn't matter?
Bookmarks