Options.AutoFormatAsYouTypeReplacePlainTextEmphasis Property

Word Developer Reference

True if manual emphasis characters are automatically replaced with character formatting as you type. For example, "*bold*" is changed to "bold" and "_underline_" is changed to "underline." Read/write Boolean.

Syntax

expression.AutoFormatAsYouTypeReplacePlainTextEmphasis

expression   A variable that represents an Options collection.

Example

This example turns on the replacement of manual emphasis characters with character formatting.

Visual Basic for Applications
  Options.AutoFormatAsYouTypeReplacePlainTextEmphasis = True

This example returns the status of the *Bold* and _underline_ with real formatting option on the AutoFormat As You Type tab in the AutoCorrect dialog box (Tools menu).

Visual Basic for Applications
  Dim blnAutoFormat as Boolean

blnAutoFormat = _ Options.AutoFormatAsYouTypeReplacePlainTextEmphasis

See Also