ChartArea object (Word)

Represents the chart area of a chart.

Remarks

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.

Example

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

See also

Word Object Model Reference

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.