Table of contents
TOC
Collapse the table of content
Expand the table of content

ParagraphFormat.ListBulletText Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

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 passed pbListTypeBullet as the 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 

© 2018 Microsoft