title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Borders.HasHorizontal property (Word) |
vbawd10.chm154927131 |
|
|
5a5863c8-8f0d-67f9-6e1f-2a4dd6b4fbc6 |
06/08/2017 |
medium |
True if a horizontal border can be applied to the object. Read-only Boolean.
expression. HasHorizontal
expression A variable that represents a 'Borders' object.
Horizontal borders can be applied to ranges that contain cells in two or more rows of a table or ranges that contain two or more paragraphs.
This example applies single-line horizontal borders, if the selection supports horizontal borders.
If Selection.Borders.HasHorizontal = True Then
Selection.Borders(wdBorderHorizontal).LineStyle = _
wdLineStyleSingle
End If
[!includeSupport and feedback]