UseTextColor Property

Microsoft PowerPoint Visual Basic

UseTextColor Property

       

Determines whether the specified bullets are set to the color of the first text character in the paragraph. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse The specified bullets are set to any other color.
msoTriStateMixed
msoTriStateToggle
msoTrue The specified bullets are set to the color of the first text character in the paragraph.

Remarks

You cannot explicitly set this property to msoFalse. Setting the bullet format color (using the Color property of the Font object) sets this property to msoFalse. When UseTextColor is msoFalse, you can set it to msoTrue to reset the bullet format to the default color.

Example

This example resets bullets in shape two on slide one in the active presentation to their default character, font, and color.

With ActivePresentation.Slides(1).Shapes(2)
    With .TextFrame.TextRange.ParagraphFormat.Bullet
        .RelativeSize = 1
        .UseTextColor = msoTrue
        .UseTextFont = msoTrue
        .Character = 8226
    End With
End With