Container Property

Applies To

Presentation object.

Description

Returns the object that contains the specified embedded presentation. Read-only Object.

Note If the container doesn't support Automation, or if the specified presentation isn't embedded, this property fails.

Example

This example hides the second section in the binder that contains the active presentation (assuming that the active presentation is embedded in an Office binder). The Container property of the presentation returns a Section object, and the Parent property of the Section object returns a Binder object.

Application.ActivePresentation.Container.Parent.Sections(2) _
    .Visible = False