Paragraph.SelectNumber method (Word)

Selects the number or bullet in a list.

Syntax

expression. SelectNumber

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

Remarks

If the SelectNumber method is called from a paragraph, selection, or range that does not contain a list, an error message is displayed.

Example

This example selects the bullet or number for the list that contains the selected paragraph in the active document, and then it increases the font size of the bullet or number to 17 points. This example assumes that the first paragraph in the selection is formatted as a bulleted or numbered list.

Sub SelectParaNumber() 
 With Selection 
 .Paragraphs(1).SelectNumber 
 .Font.Size = 17 
 End With 
End Sub

See also

Paragraph 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.