ListLevel.NumberStyle property (Word)

Returns or sets the number style for the ListLevel object. Read/write WdListNumberStyle.


expression. NumberStyle

expression Required. A variable that represents a 'ListLevel' object.


Some of the WdListNumberStyle constants may not be available to you, depending on the language support (U.S. English, for example) that you've selected or installed.


This example creates an alternating number style for the third outline-numbered list template.

Set myTemp = ListGalleries(wdOutlineNumberGallery).ListTemplates(3) 
For i = 1 to 9 
 If i Mod 2 = 0 Then 
 myTemp.ListLevels(i).NumberStyle = _ 
 myTemp.ListLevels(i).NumberStyle = _ 
 End If 
Next i

This example changes the number style to uppercase letters for every outline-numbered list in the active document.

For Each lt In ActiveDocument.ListTemplates 
 For Each ll In lt.listlevels 
 ll.NumberStyle = wdListNumberStyleUppercaseLetter 
 Next ll 
Next lt

See also

ListLevel Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.