Find an exact word in a cell with many words
I have a column that contains a sentence in each cell. I want to look for an
exact word in each sentence in the entire column. How can I do this in a
macro?
Example:
Two cells contain:
A1: She is walking the dog
A2: It is a he
I want to find only the cells containing "he" which means I should not get
A1 back even though "he" is found within the words "she" and "the." I can't
find any discussions exactly like this anywhere.
|