View Full Version : .find method "exact match"???


pungentSapling
09-08-2006, 08:07 AM
Can anyone tell me how to make the .find method in vba(excel) find an exact match.

I need to return nothing from the method when an exact match is not found.

ex:
I need to return "nothing" on a search for "1230L200"...even if "1230L20" is in the list.

.find is returning a range even if the match is only partial...


Clear as mud?

Please help.

Brianwarnock
09-22-2006, 08:40 AM
can you use Lookin:=xlWhole as in .Find("123oL20",Lookin:=xlWhole)

Brian