Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.18 KB

PowerPoint.Presentation.ExtraColors.md

File metadata and controls

50 lines (30 loc) · 1.18 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Presentation.ExtraColors property (PowerPoint)
vbapp10.chm583014
vbapp10.chm583014
PowerPoint.Presentation.ExtraColors
c6a9d155-206c-36e6-c180-aaff8bd85a99
06/08/2017
medium

Presentation.ExtraColors property (PowerPoint)

Returns an ExtraColors object that represents the extra colors available in the specified presentation. Read-only.

Syntax

expression. ExtraColors

expression A variable that represents an Presentation object.

Return value

ExtraColors

Example

The following example adds a rectangle to slide one in the active presentation and sets its fill foreground color to the first extra color. If there hasn't been at least one extra color defined for the presentation, this example will fail.

With ActivePresentation
    Set rect = .Slides(1).Shapes _
        .AddShape(msoShapeRectangle, 50, 50, 100, 200)
    rect.Fill.ForeColor.RGB = .ExtraColors(1)
End With

See also

Presentation Object

[!includeSupport and feedback]