Share via


PageSetup.FooterDistance Property

Word Developer Reference

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

Syntax

expression.FooterDistance

expression   A variable that represents a PageSetup object.

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.

Visual Basic for Applications
  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.

Visual Basic for Applications
  Selection.Range.PageSetup.FooterDistance = 72

See Also