ChartArea Object (PowerPoint)

Office 2013 and later

Contribute to this content

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

Represents the chart area of a chart.

The chart area includes everything, including the plot area. However, the PlotArea object has its own formatting, so formatting the plot area does not format the chart area.

Use the ChartArea property to return the ChartArea object.

Note Note

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

The following example turns off the border for the chart area in the first chart of the active document.

With ActiveDocument.InlineShapes(1).Chart

    ChartArea.Format.Line.Visible = False

End With