Replacement interface
Office 2013 and later
Represents the replace criteria for a find-and-replace operation.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
The properties and methods of the Replacement object correspond to the options in the Find and Replace dialog box.
Use the Replacement property to return a Replacement object.
To find and replace formatting, set both the find text and the replace text to empty strings ("") and set the Format argument of the Execute method to True.
Show: