FollowColors Property

Microsoft PowerPoint Visual Basic

Returns or sets the extent to which the colors in the specified object follow the slide's color scheme. The specified object must be a chart created in either Microsoft Graph or Microsoft Organization Chart. Read/write PpFollowColors.

PpFollowColors can be one of these PpFollowColors constants.
ppFollowColorsNone The chart colors don't follow the slide's color scheme.
ppFollowColorsMixed
ppFollowColorsScheme All the colors in the chart follow the slide's color scheme.
ppFollowColorsTextAndBackground Only the text and background follow the slide's color scheme.

expression.FollowColors

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example specifies that the text and background of shape two on slide one in the active presentation follow the slide's color scheme. Shape two must be a chart created in either Microsoft Graph or Microsoft Organization Chart.

ActivePresentation.Slides(1).Shapes(2).OLEFormat.FollowColors = _
    ppFollowColorsTextAndBackground