Workbook.Container Property (Excel)
Returns the object that represents the container application for the specified OLE object. Read-only Object .
expression A variable that represents a Workbook object.
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.