Border Object

Description

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.