ChartBorder.Weight Property (Word)

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

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

ChartBorder Object