ErrorBars Property

Microsoft Excel Visual Basic

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

Example

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

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