Düzenle

Aracılığıyla paylaş


Options.AutoFormatAsYouTypeReplacePlainTextEmphasis property (Word)

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 object.

Example

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

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).

Dim blnAutoFormat as Boolean 
 
blnAutoFormat = _ 
 Options.AutoFormatAsYouTypeReplacePlainTextEmphasis

See also

Options 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.