ChartArea Object (Word)

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.

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.

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
Show: