Replacement Members (Word)
Represents the replace criteria for a find-and-replace operation. The properties and methods of the Replacement object correspond to the options in the Find and Replace dialog box.
Methods
Name |
Description |
---|---|
Removes text and paragraph formatting from the text specified in a replace operation. |
Properties
Name |
Description |
---|---|
Returns an Application object that represents the Microsoft Word application. |
|
Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long. |
|
Returns or sets a Font object that represents the character formatting of the specified object. Read/write Font. |
|
Returns a Frame object that represents the frame formatting for the specified style or find-and-replace operation. Read-only. |
|
True if highlight formatting is applied to the replacement text. Read/write Long. |
|
Returns or sets a WdLanguageID constant that represents the language for the specified range. Read/write. |
|
Returns or sets an East Asian language for the specified replacement. Read/write WdLanguageID. |
|
True if Microsoft Word replaces text that the spelling and grammar checker ignores. Read/write Long. |
|
Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified replacement operation. Read/write. |
|
Returns an Object that represents the parent object of the specified Replacement object. |
|
Returns or sets the style for the specified object. To set this property, specify the local name of the style, an integer, a WdBuiltinStyle constant, or an object that represents the style. Read/write Variant. |
|
Returns or sets the text to replace. Read/write String. |