MsoLineStyle Enumeration (Office)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

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

Specifies the style for a line.

Name

Value

Description

msoLineSingle

1

Single line.

msoLineStyleMixed

-2

Not supported.

msoLineThickBetweenThin

5

Thick line with a thin line on each side.

msoLineThickThin

4

Thick line next to thin line. For horizontal lines, thick line is above thin line. For vertical lines, thick line is to the left of the thin line.

msoLineThinThick

3

Thick line next to thin line. For horizontal lines, thick line is below thin line. For vertical lines, thick line is to the right of the thin line.

msoLineThinThin

2

Two thin lines.

Show: