Chart.ChartArea property (PowerPoint)

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


expression. ChartArea

expression A variable that represents a Chart object.



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

See also

Chart 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.