PageSetup.SlideHeight property (PowerPoint)
Returns or sets the slide height, in points. Read/write.
Syntax
expression. SlideHeight
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
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.