SingleList 属性

       

如果为 True,则指定的 ListFormat 对象只包含一个列表。Boolean 类型,只读。

expression.SingleList

expression   必需。该表达式返回一个 ListFormat 对象。

示例

本示例检查所选内容是否只包含一个列表。如果是,则本示例将默认的编号列表模板应用于所选内容。

temp = Selection.Range.ListFormat.SingleList
If temp = True Then
  Selection.Range.ListFormat.ApplyNumberDefault
End If