Class BulletFormat (PowerPoint VBA)

The class BulletFormat represents bullet formatting.

Set

To use a BulletFormat class variable it first needs to be instantiated, for example

Dim bft as BulletFormat
Set bft = ActiveWindow.Selection.TextRange.ParagraphFormat.Bullet

BulletFormat class variables can be set using the ParagraphFormat.Bullet procedure.

Themes

The following procedures in this class have been grouped together and are described on a separate theme page

Format with its procedures Font, Style, UseTextColor and UseTextFont

Properties

Character returns or sets the Unicode character value that is used for bullets in the specified text.

ActiveWindow.Selection.TextRange.ParagraphFormat.Bullet.Character = 8226

Number returns the bullet number of a paragraph when the Type property of the BulletFormat object is set to ppBulletNumbered.

Dim lngNumber As Long
lngNumber = ActiveWindow.Selection.TextRange.ParagraphFormat.Bullet.Number

Parent returns the parent object for the specified object.

Dim objParent As Object
Set objParent = ActiveWindow.Selection.TextRange.ParagraphFormat.Bullet.Parent

RelativeSize returns or sets the bullet size relative to the size of the first text character in the paragraph.

ActiveWindow.Selection.TextRange.ParagraphFormat.Bullet.RelativeSize = 1.25

StartValue returns or sets the beginning value of a bulleted list when the Type property of the BulletFormat object is set to ppBulletNumbered.

ActiveWindow.Selection.TextRange.ParagraphFormat.Bullet.StartValue = 5

Type represents the type of bullet.

ActiveWindow.Selection.TextRange.ParagraphFormat.Bullet.Type = ppBulletMixed