Selection.Find Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a Find object that contains the criteria for a find operation. Read-only.

expression .Find

expression A variable that represents a Selection object.

The selection is changed if the find operation is successful.

The following example searches forward through the document for the word "Microsoft." If the word is found, it is automatically selected.

With Selection.Find 
 .Forward = True 
 .ClearFormatting 
 .MatchWholeWord = True 
 .MatchCase = False 
 .Wrap = wdFindContinue 
 .Execute FindText:="Microsoft" 
End With
Show: