Share via


ReplaceText Property

True if Microsoft Word automatically replaces specified text with entries from the AutoCorrect list. Read/write Boolean.

expression.ReplaceText

expression Required. An expression that returns an AutoCorrect object.

Example

This example sets Word to automatically replace specified text with entries from the AutoCorrect list as you type.

AutoCorrect.ReplaceText = True

This example toggles the value of the ReplaceText property.

AutoCorrect.ReplaceText = Not AutoCorrect.ReplaceText

Applies to | AutoCorrect Object

See Also | AutoCorrect Property | Entries Property | ReplaceTextFromSpellingChecker Property