Comparing An Array in VBA
To all those VBA experts out there, I've written a simple macro in
VBA. The purpose is to alert the user if they encounter a value that
isn't currently in an array. They way I did this is that I compared
the value to each piece of the array within a nested loop. Is there a
way to determine if the value is in the array without having to compare
each piece of the array. If so, what's the function.
Thanks in advance for any help.
Greg
|