WdReplace enumeration (Word)
Specifies the number of replacements to be made when find and replace is used.
Name | Value | Description |
---|---|---|
wdReplaceAll | 2 | Replace all occurrences. |
wdReplaceNone | 0 | Replace no occurrences. |
wdReplaceOne | 1 | Replace the first occurrence encountered. |
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.