Page.Height property (Word)
Returns a Long that represents the height of a page, in pixels.
Syntax
expression.Top
expression An expression that represents a 'Page' object.
Remarks
The Top and Left properties of the Page object always return 0 (zero) indicating the upper-left corner of the page. The Height and Width properties return the height and width in points (72 points = 1 inch) of the paper size specified in the Page Setup dialog box or through the PageSetup object. For example, for an 8-1/2 by 11 inch page in portrait mode, the Height property returns 792 and the Width property returns 612. All four of these properties are read-only.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.