AutoFormatAsYouTypeReplaceQuotes 属性(Word) EmailOptionsEmailOptions.AutoFormatAsYouTypeReplaceQuotes property (Word)

如此 如果键入时,直引号会自动更改为弯引号。True if straight quotation marks are automatically changed to smart (curly) quotation marks as you type. 读/写 BooleanRead/write Boolean.


expressionexpression. AutoFormatAsYouTypeReplaceQuotes

_表达式_一个代表 "EmailOptions" 集合的变量。expression A variable that represents an 'EmailOptions' collection.


本示例启用将所键入的直引号自动替换为弯引号的功能。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

EmailOptions 对象EmailOptions Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.