Constant | Description |
wdFindAsk | After searching the selection or range, Word displays a message asking whether to search the remainder of the document. |
wdFindContinue | The find operation continues when the beginning or end of the search range is reached. |
WdFindStop | The find operation ends when the beginning or end of the search range is reached. |
With Selection.Find
.Forward = True
.ClearFormatting
.MatchWholeWord = True
.MatchCase = False
.Wrap = wdFindContinue
.Execute FindText:="aspirin"
End With