Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Searches a TextRange2 object for a subset of text.
Syntax
expression.Find (FindWhat, After, MatchCase, WholeWords)
expression An expression that returns a TextRange2 object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| FindWhat | Required | String | Contains the text to find. |
| After | Optional | Long | Specifies the point in the text range to start the search. |
| MatchCase | Optional | MsoTriState | Specifies if the target text must exactly match the case of the search text. |
| WholeWords | Optional | MsoTriState | Specifies that only whole words will be searched. |
Return value
TextRange2
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.