Muokkaa

Jaa


Presentation.ColorSchemes property (PowerPoint)

Returns a ColorSchemes collection that represents the color schemes in the specified presentation. Read-only.

Syntax

expression. ColorSchemes

expression A variable that represents a Presentation object.

Return value

ColorSchemes

Example

This example sets the background color for color scheme three in the active presentation and then applies the color scheme to all slides in the presentation that are based on the slide master.

With ActivePresentation

    Set cs1 = .ColorSchemes(3)

    cs1.Colors(ppBackground).RGB = RGB(128, 128, 0)

    .SlideMaster.ColorScheme = cs1

End With

See also

Presentation Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.