ParagraphFormat.ListBulletText property (Publisher)

Returns a String representing the list bullet text from the specified paragraphs. Read-only.

Syntax

expression.ListBulletText

expression A variable that represents a ParagraphFormat object.

Return value

String

Remarks

The ListBulletText property is limited to one character.

This property is read-only. To set the ListBulletText property of a bulleted list, use the SetListType method.

Returns an "Access Denied" message if the list is not a bulleted list.

Example

This example tests to see if the list type is a bulleted list. If it is, a test is made to see that the list bullet text is set to "*". If it is not, the SetListType method is called and passes pbListTypeBullet as the Value (PbListType) parameter and "*" as the BulletText parameter.

Dim objParaForm As ParagraphFormat 
 
Set objParaForm = ActiveDocument.Pages(1).Shapes(1) _ 
.TextFrame.TextRange.ParagraphFormat 
 
With objParaForm 
 If .ListType = pbListTypeBullet Then 
 If Not .ListBulletText = "*" Then 
 .SetListType pbListTypeBullet, "*" 
 End If 
 End If 
End With 
 

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.