Nota
L'accesso a questa pagina richiede l'autorizzazione. Puoi provare ad accedere o a cambiare directory.
L'accesso a questa pagina richiede l'autorizzazione. Puoi provare a cambiare directory.
Returns an RGBColor object that represents a single color in a color scheme.
Syntax
expression.Colors (SchemeColor)
expression A variable that represents a ColorScheme object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| SchemeColor | Required | PpColorSchemeIndex | The individual color in the specified color scheme. |
Return value
RGBColor
Example
This example sets the title color for slides one and three in the active presentation.
Set mySlides = ActivePresentation.Slides.Range(Array(1, 3))
mySlides.ColorScheme.Colors(ppTitle).RGB = RGB(0, 255, 0)
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.