PageSetup object (Publisher)

Contains information about the page setup for the pages in a publication.

Remarks

Use the Document.PageSetup property to return the PageSetup object.

Example

The following example sets all pages in the active publication to be 8.5 inches wide and 11 inches high.

Sub SetPageSetupOptions() 
 With ActiveDocument.PageSetup 
 .PageHeight = 11 * 72 
 .PageWidth = 8.5 * 72 
 End With 
End Sub

Properties

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.