Series.HasErrorBars property (Excel)

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

Syntax

expression.HasErrorBars

expression A variable that represents a Series object.

Example

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

Charts("Chart1").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.