WdBorderType enumeration (Word)

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.

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.