Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.22 KB

Publisher.ParagraphFormat.ListBulletFontName.md

File metadata and controls

55 lines (34 loc) · 1.22 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ParagraphFormat.ListBulletFontName property (Publisher)
vbapb10.chm5439525
vbapb10.chm5439525
Publisher.ParagraphFormat.ListBulletFontName
aa0269a1-c5a8-1705-551f-6b1b849701e9
06/12/2019
medium

ParagraphFormat.ListBulletFontName property (Publisher)

Sets or retrieves a String representing the list bullet font name from the specified paragraphs. Read/write.

Syntax

expression.ListBulletFontName

expression A variable that represents a ParagraphFormat object.

Return value

String

Remarks

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, the ListBulletFontName is set to Verdana and the ListFontSize is set to 24.

Dim objParaForm As ParagraphFormat 
 
Set objParaForm = ActiveDocument.Pages(1).Shapes(1) _ 
.TextFrame.TextRange.ParagraphFormat 
 
With objParaForm 
 If .ListType = pbListTypeBullet Then 
 .ListBulletFontName = "Verdana" 
 .ListBulletFontSize = 24 
 End If 
End With 

[!includeSupport and feedback]