BorderColor

This property returns and sets the color of an object's border.

Syntax

object.BorderColor [= color]

Parameters

object
Object expression that evaluates to a Shape or Line control.
color
Value or constant that determines the border color.

Remarks

The color parameter can be a standard RGB or system color.