Options.DefaultBorderLineStyle property (Word)

Returns or sets the default border line style. Read/write WdLineStyle.

Syntax

expression. DefaultBorderLineStyle

expression Required. A variable that represents an Options object.

Example

This example sets the default line style to double.

Options.DefaultBorderLineStyle = wdLineStyleDouble

This example returns the current default line style.

Dim lngTemp As Long 
 
lngTemp= Options.DefaultBorderLineStyle

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.