Amount Property Example

This example adds error bars to the specified series in the chart workspace and then sets the error amount.

Set eb = ChartSpace1.Charts(0).SeriesCollection(0).ErrorBarsCollection.Add
eb.Amount = 0.05