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
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for