HasErrorBars property (Excel Graph)

True if the series has error bars. This property isn't available for 3D charts. Read/write Boolean.

Syntax

expression.HasErrorBars

expression Required. An expression that returns one of the objects in the Applies To list.

Example

This example removes error bars from series one. The example should be run on a 2D line chart that has error bars for series one.

myChart.SeriesCollection(1).HasErrorBars = False

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.