C
cyberdude
Hi,
I need to write a macro to find the exact match of a phrase. For
example, I need to find "David Dyson" in the following paragraph:
He is David Dyson. David Dyso is a famous man in country X. David
Dysonn is a merchant. The father of David Dyson is Peter Dyson.
So, I should find two exact matches of "David Dyson" in the above (One
phrase is in "He is David Dyson.". The other phrase is "The father of
David Dyson is..."). May I ask how to write the VBA code to do the
search? Thanks.
Mike
I need to write a macro to find the exact match of a phrase. For
example, I need to find "David Dyson" in the following paragraph:
He is David Dyson. David Dyso is a famous man in country X. David
Dysonn is a merchant. The father of David Dyson is Peter Dyson.
So, I should find two exact matches of "David Dyson" in the above (One
phrase is in "He is David Dyson.". The other phrase is "The father of
David Dyson is..."). May I ask how to write the VBA code to do the
search? Thanks.
Mike