ChartBorder.Weight Property (Word)

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

Version Information

Version Added: Word 2007

Syntax

expression .Weight

expression A variable that represents a ChartBorder object.

Example

The following example sets the border weight for the value axis of the first chart in the active document to medium.

With ActiveDocument.InlineShapes(1) 
 If .HasChart Then 
 .Chart.Axes(xlValue).Border.Weight = xlMedium 
 End If 
End With

See Also

Concepts

ChartBorder Object Members

ChartBorder Object