BarShape Property

Microsoft Excel Visual Basic

BarShape Property

       

Returns or sets the shape used with the 3-D bar or column chart. Read/write XlBarShape.

XlBarShape can be one of these XlBarShape constants.
xlBox
xlConeToPoint
xlPyramidToMax
xlConeToMax
xlCylinder
xlPyramidToPoint

expression.BarShape

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

Example

This example sets the shape used with series one on chart one.

Charts(1).SeriesCollection(1).BarShape = xlConeToPoint