Range.Underline 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 type of underline applied to a range. Read/write WdUnderline.

expression .Underline

expression Required. A variable that represents a Range object.

This example applies a double underline to the fourth word in the active document.

ActiveDocument.Words(4).Underline = wdUnderlineDouble


Other resources