Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 960 Bytes

Word.ListFormat.SingleList.md

File metadata and controls

44 lines (27 loc) · 960 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ListFormat.SingleList property (Word)
vbawd10.chm163577928
vbawd10.chm163577928
Word.ListFormat.SingleList
b2ec4d04-bc2b-b369-b213-f7e25ca894a4
06/08/2017
medium

ListFormat.SingleList property (Word)

True if the specified ListFormat object contains only one list. Read-only Boolean.

Syntax

expression. SingleList

expression An expression that returns a 'ListFormat' object.

Example

This example checks the selection to see whether it only contains one list. If it does, the example applies the default numbered list template to the selection.

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

See also

ListFormat Object

[!includeSupport and feedback]