EndStyle Property

Applies To

ErrorBars object.

Description

Returns or sets the end style for the error bars. Can be one of the following XlEndStyleCap constants: xlCap or xlNoCap. Read/write Long.

Example

This example sets the end style for the error bars for series one. The example should be run on a 2-D line chart that has Y error bars for the first series.

myChart.SeriesCollection(1).ErrorBars.EndStyle = xlCap