PageSetup.SlideWidth property (PowerPoint)

Returns or sets the slide width, in points. Read/write.

Syntax

expression. SlideWidth

expression A variable that represents a PageSetup object.

Return value

Single

Example

This example sets the slide height to 8.5 inches and the slide width to 11 inches for the active presentation.

With Application.ActivePresentation.PageSetup

    .SlideWidth = 11 * 72

    .SlideHeight = 8.5 * 72

End With


See also

PageSetup 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.