FooterDistance Property

Microsoft Word Visual Basic

FooterDistance Property

       

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

Example

This example sets the distance between the footer and the bottom of the page to 0.5 inch. The InchesToPoints method is used to convert inches to points.

ActiveDocument.PageSetup.FooterDistance = InchesToPoints(0.5)

This example sets the distance between the footer and the bottom of the page for all the sections in the selection to 1 inch.

Selection.Range.PageSetup.FooterDistance = 72