SlideRange.Master property (PowerPoint)

Returns a Master object that represents the slide master. Read-only.


expression. Master

expression A variable that represents a SlideRange object.

Return value



This example sets the background fill for the slide master for slide one in the active presentation.

ActivePresentation.Slides(1).Master.Background.Fill _
    .PresetGradient msoGradientDiagonalUp, 1, msoGradientDaybreak

See also

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