Container Property

Microsoft PowerPoint Visual Basic

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

Note  If the container doesn't support OLE Automation, or if the specified presentation isn't embedded in a Microsoft Binder file, this property fails.

Example

This example hides the second section of the Microsoft Binder file that contains the embedded active presentation. 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