ErrorBars.EndStyle property (Excel)
Returns or sets the end style for the error bars. Can be one of the following XlEndStyleCap constants: xlCap or xlNoCap. Read/write Long.
Syntax
expression.EndStyle
expression A variable that represents an ErrorBars object.
Example
This example sets the end style for the error bars for series one on Chart1. The example should be run on a 2D line chart that has Y error bars for the first series.
Charts("Chart1").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.