Options.DefaultBorderColor property (Word)

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


expression. DefaultBorderColor

expression Required. A variable that represents an Options object.


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


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.