AutoCorrect.ReplaceText property (Word)

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

Syntax

expression. ReplaceText

expression 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

See also

AutoCorrect Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.