AutoFormatApplyLists 属性

       

如果该属性值为 True,则当 Word 自动设置文档或区域格式时,自动为列表应用样式。Boolean 类型,可读写。

示例

本示例为当前所选内容中的所有列表设置样式。

Options.AutoFormatApplyLists = True
Selection.Range.AutoFormat

本示例返回“工具”菜单的“自动更正”对话框中的“自动套用格式”选项卡中的“列表”选项的状态。

Dim blnAutoFormat as Boolean

blnAutoFormat = Options.AutoFormatApplyLists