Weight Property

Applies To

Border object.

Description

Returns or sets the weight of the border. Can be one of the following XlBorderWeight constants: xlHairline, xlThin, xlMedium, or xlThick. Read/write Long.

Example

This example sets the border weight for the chart area.

myChart.ChartArea.Border.Weight = xlMedium