Options.AutoFormatReplaceQuotes Property (Word)

True if straight quotation marks are automatically changed to smart (curly) quotation marks when Word formats a document or range automatically. Read/write Boolean.

Syntax

expression .AutoFormatReplaceQuotes

expression A variable that represents an Options object.

Example

This example turns on the automatic replacement of straight quotation marks with smart (curly) quotation marks, and then it formats the current selection automatically.

Options.AutoFormatReplaceQuotes = True 
Selection.Range.AutoFormat

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

Dim blnAutoFormat as Boolean 
 
blnAutoFormat = Options.AutoFormatReplaceQuotes

See Also

Concepts

Options Object Members

Options Object