If you want an exact match (ie case sensitive) using this type of approach you could perhaps revise the Array such that
a) it includes a Null
b) is sorted a-z
at which point you could use an HLOOKUP type approach (w/ binary search) and compare resulting string to criteria, eg:
vExclusions = Array("","stringA","stringB","stringC")
....
If Application.WorksheetFunction.HLookup(strCellData, vExclusions, 1) <> strCellData Then
End If
(you would need to test for Null also of course)
I hope that helps.
EDIT:
In hindsight - if you wanted to avoid using the Null you could use an Exact Match and Application.HLookup with a CStr, eg:
vExclusions = Array("stringA","stringC","stringB")
....
If CStr(Application.Hlookup(strCellData,vExclusions,1,0)) <> strCellData Then
'do something
End If
Bookmarks