Chart.ChartArea Property (PowerPoint)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns the complete chart area for the chart. Read-only ChartArea.

expression .ChartArea

expression A variable that represents a Chart object.

Note Note

Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

The following example sets the chart area interior color of the first chart in the active document to red and sets the border color to blue.

With ActiveDocument.InlineShapes(1).Chart.ChartArea

    .Interior.ColorIndex = 3

    .Border.ColorIndex = 5

End With

Concepts

Other resources

Show: