HeaderDistance 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"