Weight Property

Applies To

Border Object, Borders Collection.

Description

Returns or sets the weight of the border (one of xlHairline, xlThin, xlMedium, or xlThick). Read-write.

Example

This example sets the border weight for oval one on Sheet1.


Worksheets("Sheet1").Ovals(1).Border.Weight = xlMedium