Slide.ColorScheme Property

PowerPoint Developer Reference

Returns or sets the ColorScheme object that represents the scheme colors for the specified slide, slide range, or slide master. Read/write.

Syntax

expression.ColorScheme

expression   A variable that represents a Slide object.

Return Value
ColorScheme

Example

This example sets the title color to green for slides one and three in the active presentation.

Visual Basic for Applications
  Set mySlides = ActivePresentation.Slides.Range(Array(1, 3))
mySlides.ColorScheme.Colors(ppTitle).RGB = RGB(0, 255, 0)

See Also