SurroundHeader Property

Applies To

Borders collection object.

Description

True if a page border encompasses the document header. Read/write Boolean.

See Also

ArtStyle property, ArtWidth property, DistanceFrom property.

Example

This example formats the page border in section one in the active document to exclude the header and footer areas on each page.

With ActiveDocument.Sections(1).Borders
    .SurroundFooter = False
    .SurroundHeader = False
End With