WdBorderType Enumeration (Word)

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 type of border to be used.

Name

Value

Description

wdBorderBottom

-3

A bottom border.

wdBorderDiagonalDown

-7

A diagonal border starting in the upper-left corner.

wdBorderDiagonalUp

-8

A diagonal border starting in the lower-left corner.

wdBorderHorizontal

-5

Horizontal borders.

wdBorderLeft

-2

A left border.

wdBorderRight

-4

A right border.

wdBorderTop

-1

A top border.

wdBorderVertical

-6

Vertical borders.

Show: