Find.Replacement Property
Word Developer Reference |
Returns a Replacement object that contains the criteria for a replace operation.
Syntax
expression.Replacement
expression An expression that returns a Find object.
Example
This example removes bold formatting from the active document. The Bold property of the Font object is True for the Find object and False for the Replacement object.
Visual Basic for Applications |
---|
|
This example finds every instance of the word "Start" in the active document and replaces it with "End." The find operation ignores formatting but matches the case of the text to find ("Start").
Visual Basic for Applications |
---|
|
See Also