Border Property

Returns a Border object that represents the border of the specified object. Read-only Border object.

expression.Border

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

Example

This example sets the color of the chart area border to red.

myChart.ChartArea.Border.ColorIndex = 3