Table of contents
Collapse the table of content
Expand the table of content

TextRange2.Find Method (Office)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Searches a TextRange2 object for a subset of text.


expression. Find( FindWhat, After, MatchCase, WholeWords )

expression An expression that returns a TextRange2 object.


NameRequired/OptionalData TypeDescription
FindWhatRequiredStringContains the text to find.
AfterOptionalLongSpecifies the point in the text range to start the search.
MatchCaseOptionalMsoTriStateSpecifies if the target text must exactly match the case of the search text.
WholeWordsOptionalMsoTriStateSpecifies that only whole words will be searched.

Return Value


See also


TextRange2 Object

Other resources

TextRange2 Object Members

© 2018 Microsoft