Options.DefaultBorderColor Property (Word)

Returns or sets the default 24-bit color to use for new Border objects. Read/write.

Syntax

expression .DefaultBorderColor

expression Required. A variable that represents an Options collection.

Remarks

This property can be any valid WdColor constant or a value returned by Visual Basic's RGB function.

Example

This example sets the default color for new borders to teal.

Options.DefaultBorderColor = wdColorTeal

See Also

Concepts

Options Object

Options Object Members