EndStyle Property

Microsoft Graph Visual Basic

EndStyle Property


Returns or sets the end style for the error bars. Read/write XlEndStyleCap.

XlEndStyleCap can be one of these XlEndStyleCap constants.


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


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