HeaderDistance Property

Applies To

PageSetup object.

Description

Returns or sets the distance (in points) between the header and the top of the page. Read/write Single.

See Also

FooterDistance property, TopMargin property.

Example

This example displays the distance between the header and the top of the page. The PointsToInches method is used to convert points to inches.

dist = ActiveDocument.PageSetup.HeaderDistance
Msgbox PointsToInches(dist) & " inches"