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

Applies to | Axis Object | AxisTitle Object | ChartArea Object | ChartTitle Object | DataLabel Object | DataLabels Collection Object | DataTable Object | DisplayUnitLabel Object | DownBars Object | DropLines Object | ErrorBars Object | Floor Object | Gridlines Object | HiLoLines Object | LeaderLines Object | Legend Object | LegendKey Object | PlotArea Object | Point Object | Series Object | SeriesLines Object | Trendline Object | UpBars Object | Walls Object