语法
表达式.AutoFormatApplyLists
表达式 一个代表 Options 对象的变量。
示例
本示例为当前选定内容中的所有列表应用样式。
Options.AutoFormatApplyLists = true Selection.Range.AutoFormat()
本示例返回“工具”菜单的“自动更正”对话框中“自动套用格式”选项卡上“列表”选项的状态。
let blnAutoFormat = Options.AutoFormatApplyLists