Options.AutoFormatAsYouTypeReplaceQuotes property (Word)
True if straight quotation marks are automatically changed to smart (curly) quotation marks as you type. Read/write Boolean.
expression A variable that represents an Options object.
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
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.