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 object.

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

Options Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.