Border property



The type and color of the range border.

Syntax

Set:	Range.setBorder(borderType, borderColor)
Get: borderType = Range.getBorderType
borderColor = Range.getBorderColor

Applies to

Range object.

Parameters

borderType
string. The type of border to apply to the range:
lor
A text font color:
All
Outer
Inner
Horizontal
Vertical
left
right
top
bottom

borderColor
Color. The border color. The initial value is black. [[Need to have a jump to a topic on accessing java classes?]]

Usage

To get the border color, use the getBorderColor form of the property. To get the border type, use the getBorderType form of the property.

See also
BackgroundColor property