Edit

SlideRange.DisplayMasterShapes property (PowerPoint)

Determines whether the specified range of slides displays the background objects on the slide master. Read/write.

Syntax

expression. DisplayMasterShapes

expression A variable that represents a SlideRange object.

Return value

MsoTriState

Remarks

The value of the DisplayMasterShapes property can be one of these MsoTriState constants.

Constant Description
msoFalse The specified range of slides does not display the background objects on the slide master.
msoTrue The specified range of slides displays the background objects on the slide master. These background objects can include text, drawings, OLE objects, and clip art you add to the slide master. Headers and footers aren't included.

Example

This example copies slide one from presentation two, pastes it at the end of presentation one, and matches the slide's background, color scheme, and background objects to the rest of presentation one.

Presentations(2).Slides(1).Copy

With Presentations(1).Slides.Paste

    .FollowMasterBackground = True

    .ColorScheme = Presentations(1).SlideMaster.ColorScheme

    .DisplayMasterShapes = msoTrue

End With

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.