Options.AutoFormatAsYouTypeReplaceQuotes Property

Word Developer Reference

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.

Visual Basic for Applications
  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).

Visual Basic for Applications
  Dim blnAutoFormat as Boolean

blnAutoFormat = Options.AutoFormatReplaceQuotes

See Also