Replacement Interface

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)

[GuidAttribute("000209B1-0000-0000-C000-000000000046")]
public interface Replacement

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.

Community Additions

ADD
Show:
© 2014 Microsoft