Workbook.Container property (Excel)
Returns the object that represents the container application for the specified OLE object. Read-only Object.
Syntax
expression.Container
expression A variable that represents a Workbook object.
Remarks
This property provides a way to access the object model of the container application if an Excel workbook is opened within a host application such as Microsoft Internet Explorer.
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.