Border Object

Multiple objects
Border

Represents the border of the specified object.

Using the Border Object

An object's border is treated as a single entity and is always returned as a unit (in its entirety), regardless of how many sides it has. Use the Border property to return the Border object. The following example places a dashed border around the chart area and places a dotted border around the plot area.

With myChart
    .ChartArea.Border.LineStyle = xlDash
    .PlotArea.Border.LineStyle = xlDot
End With

Properties | Application Property | Color Property | ColorIndex Property | Creator Property | LineStyle Property | Parent Property | Weight Property

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

Child Objects