Compartilhar via


AutoCorrect.ReplaceText Property

Word Developer Reference

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.

Visual Basic for Applications
  AutoCorrect.ReplaceText = True

This example toggles the value of the ReplaceText property.

Visual Basic for Applications
  AutoCorrect.ReplaceText = Not AutoCorrect.ReplaceText

See Also