Word) (ListFormat.SingleList 属性
如此 如果指定的 ListFormat 对象包含一个列表。 只读 Boolean。
语法
expression。 SingleList
表达 返回“ListFormat”对象的表达式。
示例
本示例检查所选内容是否只包含一个列表。 如果是,则本示例将默认的编号列表模板应用于所选内容。
temp = Selection.Range.ListFormat.SingleList
If temp = True Then
Selection.Range.ListFormat.ApplyNumberDefault
End If
另请参阅
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。