AutoFormatReplacePlainTextEmphasis Property

Microsoft Word Visual Basic

AutoFormatReplacePlainTextEmphasis Property

       

True if manual emphasis characters are replaced with character formatting when Word formats a document or range automatically. For example, "*bold*" is changed to "bold" and "_underline_" is changed to "underline." Read/write Boolean.

Example

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

Options.AutoFormatReplacePlainTextEmphasis = True
Selection.Range.AutoFormat

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

Dim blnAutoFormat as Boolean

blnAutoFormat = Options.AutoFormatReplacePlainTextEmphasis