Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Weight Property [Excel 2003 VBA Language Reference]

Office 2003

Returns or sets the weight of the line. Read/write Single.

expression.Weight

expression Required. An expression that returns one of the above objects.

XlBorderWeight can be one of these XlBorderWeight constants.
xlHairline
xlThin
xlMedium

xlThick

expression.Weight

expression Required. An expression that returns one of the objects.

Example

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

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




Show:
© 2014 Microsoft