Presentation.PageSetup property (PowerPoint)

Returns a PageSetup object whose properties control slide setup attributes for the specified presentation. Read-only.

Syntax

expression.PageSetup

expression A variable that represents a Presentation object.

Return value

PageSetup

Example

The following example sets the slide size and slide orientation for the presentation named "Pres1."

With Presentations("pres1").PageSetup

    .SlideSize = ppSlideSize35MM

    .SlideOrientation = msoOrientationHorizontal

End With

See also

Presentation Object

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.