Series.ErrorBars property (Excel)

Returns an ErrorBars object that represents the error bars for the series. Read-only.

Syntax

expression.ErrorBars

expression A variable that represents a Series object.

Example

This example sets the error bar color for series one on Chart1. The example should be run on a 2D line chart that has error bars for series one.

With Charts("Chart1").SeriesCollection(1) 
 .ErrorBars.Border.ColorIndex = 8 
End With

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.