Weight Property
Returns or sets the weight of the border. Read/write XlBorderWeight.
XlBorderWeight can be one of these XlBorderWeight constants. |
xlHairline |
xlThin
xlMedium xlThick |
expression.Weight
expression Required. 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