Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns or sets the weight of the border. Read/write XlBorderWeight.
Syntax
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.