Options.AutoFormatAsYouTypeReplaceQuotes Property (Word)

True if straight quotation marks are automatically changed to smart (curly) quotation marks as you type. Read/write Boolean.

Syntax

expression .AutoFormatAsYouTypeReplaceQuotes

expression A variable that represents an Options collection.

Example

This example turns on the automatic replacement of straight quotation marks with smart (curly) quotation marks as you type.

Options.AutoFormatAsYouTypeReplaceQuotes = True

This example returns the status of the Straight quotes with smart quotes option on the AutoFormat As You Type tab in the AutoCorrect dialog box (Tools menu).

Dim blnAutoFormat as Boolean 
 
blnAutoFormat = Options.AutoFormatReplaceQuotes

See Also

Concepts

Options Object Members

Options Object