FollowColors Property
Applies To
OLEFormat object.
Description
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. The property can have one of the following PpFollowColors constants: ppFollowColorsScheme, if all the colors in the chart follow the slide's color scheme; ppFollowColorsTextAndBackground, if only the text and background follow the slide's color scheme; or ppFollowColorsNone, if the chart colors don't follow the slide's color scheme. Read/write Long.
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