Workbook.Container Property
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.container container property Find the program that a specific worksheet is embedded in? Return the application for an embedded workbook?