Edit

Share via


EndStyle property (Excel Graph)

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

Syntax

expression.EndStyle

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

Example

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

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

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.