Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
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.