Options.DefaultBorderLineWidth property (Word)

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

Syntax

expression. DefaultBorderLineWidth

expression Required. A variable that represents an Options object.

Example

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

Options.DefaultBorderLineWidth = wdLineWidth050pt 
Selection.Borders.Enable = True

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.