Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

PageHeight cell (Page Properties section)

PageHeight cell (Page Properties section)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

See also         https://msdn.microsoft.com/en-us/library/aa160075(v=office.10) Section         Rows

Contains the height of the printed page in drawing units.

Remarks

You can also set the page height in the Page Size tab of the Page Setup dialog box (click Page Setup on the File menu), or by manually resizing the page with the mouse.

To reference the PageHeight cell by name from another formula, or from a program using the https://msdn.microsoft.com/en-us/library/aa141912(v=office.10) Cells property, use:

Cell name:

PageHeight

To reference the PageHeight cell by index from a program, use the https://msdn.microsoft.com/en-us/library/aa141916(v=office.10) CellsSRC property with the following arguments:

Section index:

visSectionObject

Row index:

visRowPage

Cell index:

visPageHeight

Show:
© 2015 Microsoft