Partager via


Presentation.Container Property (PowerPoint)

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

Syntax

expression .Container

expression A variable that represents a Presentation object.

Return Value

Object

Remarks

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

See Also

Concepts

Presentation Object

Presentation Object Members