Border Property
Applies To
Axis object, AxisTitle object, CalloutFormat object, ChartArea object, ChartObject object, ChartObjects collection object, ChartTitle object, DataLabel object, DataLabels collection object, DataTable object, DownBars object, DropLines object, ErrorBars object, Floor object, Gridlines object, HiLoLines object, LeaderLines object, Legend object, LegendKey object, OLEObject object, OLEObjects collection object, PlotArea object, Point object, Series object, SeriesLines object, Trendline object, UpBars object, Walls object.
Description
Returns a Border object that represents the border of the object. Read-only.
Example
This example sets the color of the chart area border of Chart1 to red.
Charts("Chart1").ChartArea.Border.ColorIndex = 3