SlideRange.Master Property

PowerPoint Developer Reference

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

Syntax

expression.Master

expression   A variable that represents a SlideRange object.

Return Value
Master

Example

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

Visual Basic for Applications
  ActivePresentation.Slides(1).Master.Background.Fill _
    .PresetGradient msoGradientDiagonalUp, 1, msoGradientDaybreak

See Also