IncludeBorder Property

Applies To

Style object.

Description

True if the style includes the Color, ColorIndex, LineStyle, and Weight border properties. Read/write Boolean.

See Also

Color property, ColorIndex property, IncludeAlignment property, IncludeFont property, IncludeNumber property, IncludePatterns property, IncludeProtection property, LineStyle property, Weight property.

Example

This example sets the style attached to cell A1 on Sheet1 to include border format.

Worksheets("Sheet1").Range("A1").Style.IncludeBorder = True