Options.DefaultBorderLineStyle Property (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .DefaultBorderLineStyle

expression Required. A variable that represents an Options collection.

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