PageHeight Property
Applies To
PageSetup object.
Description
Returns or sets the height of the page, in points. Read/write Single.
Remarks
Setting the PageHeight property changes the PaperSize property to wdPaperCustom.
Use the PaperSize property to set the page height and page width to those of a predefined paper size, such as Letter or A4.
See Also
Height property, PageWidth property, PaperSize property.
Example
This example sets the page height for the active document to 9 inches.
With ActiveDocument.PageSetup
.PageHeight = InchesToPoints(9)
.PageWidth = InchesToPoints(7)
End With