Options.DefaultBorderLineWidth Property

Word Developer Reference

Returns or sets the default line width of borders. Read/write WdLineWidth.

Syntax

expression.DefaultBorderLineWidth

expression   Required. A variable that represents an Options collection.

Example

This example changes the default line width of borders and then adds a border around each paragraph in the selection.

Visual Basic for Applications
  Options.DefaultBorderLineWidth = wdLineWidth050pt
Selection.Borders.Enable = True

See Also