Returns or sets the weight of the border. Read/write .

XlBorderWeight can be one of these XlBorderWeight constants.
xlHairline
xlThin

xlMedium

xlThick

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

Example

This example sets the border weight for the chart area.

myChart.ChartArea.Border.Weight = xlMedium