Replacement Members (Word)

Office 2010

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.

Name

Description

ClearFormatting

Removes text and paragraph formatting from the text specified in a replace operation.

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Font

Returns or sets a Font object that represents the character formatting of the specified object. Read/write Font.

Frame

Returns a Frame object that represents the frame formatting for the specified style or find-and-replace operation. Read-only.

Highlight

True if highlight formatting is applied to the replacement text. Read/write Long.

LanguageID

Returns or sets a WdLanguageID constant that represents the language for the specified range. Read/write.

LanguageIDFarEast

Returns or sets an East Asian language for the specified replacement. Read/write WdLanguageID.

NoProofing

True if Microsoft Word replaces text that the spelling and grammar checker ignores. Read/write Long.

ParagraphFormat

Returns or sets a ParagraphFormat object that represents the paragraph settings for the specified replacement operation. Read/write.

Parent

Returns an Object that represents the parent object of the specified Replacement object.

Style

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.

Text

Returns or sets the text to replace. Read/write String.

Show: