Share via


Border.Weight Property (Excel)

Returns or sets a XlBorderWeight value that represents the weight of the border.

Syntax

.Weight

A variable that represents a Border object.

Example

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

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

참고 항목

개념

Border Object Members

Border Object