Options.DefaultBorderColor Property

Word Developer Reference

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.

Visual Basic for Applications
  Options.DefaultBorderColor = wdColorTeal

See Also