PageSetup.PageHeight property (Publisher)
Returns or sets a Variant that represents the height of the pages in a publication. Read/write.
Syntax
expression.PageHeight
expression A variable that represents a PageSetup object.
Return value
Variant
Remarks
Numeric values are evaluated as points. String values can be in any unit supported by Microsoft Publisher (for example, "2.5 in"). The valid range of possible values is from zero to the difference between the sheet height and the page height.
Example
This example specifies a height of five inches for the pages in the active publication.
Public Sub PageHeight_Example()
ActiveDocument.PageSetup.PageHeight = InchesToPoints(5)
End Sub
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.