Slide.Master Property (PowerPoint)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .Master

expression A variable that represents a Slide object.

Return Value

Master

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

Concepts

Other resources

Show: