This documentation is archived and is not being maintained.

Border Property

Office 2003

Returns a ChBorder object that represents the border of the specified object.


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


The border for a chart series represents the outline color on column, bar, pie, doughnut, area, and high-low-close charts. On charts with markers (such as a line chart with markers), the border represents the outline color for the markers.


This example sets the line weight of the border for the specified series in the chart workspace.

Sub SetBorder()

   Dim chConstants

   Set chConstants = ChartSpace1.Constants

   ChartSpace1.Charts(0).SeriesCollection(0).Border _
                        .Weight = chConstants.owcLineWeightMedium

End Sub


See Also | Borders Property