I am using a function I found online called "IsInArray," which checks if a value is in an array and returns true of false. It doesn't seem to be working in this case. In the example below, I have a named range "names", and I have a sub which stores the range in an array and runs IsInArray for "BLUE WATER JEWELERS" in the array. This returns false even though the value is in the range.
The workbook with the code: ExistsInArray.xlsm
Here is the named range called "names":
Account Name
ALBERT S SMYTH CO, INC
BILL FRENCH JEWELERS
BLAND'S JEWELERS
BLUE WATER JEWELERS
BRAUNSCHWEIGER JEWELERS
here is the VBA:
Bookmarks