Application Property
Applies To
Assistant object, Balloon object, BalloonCheckbox object, BalloonCheckboxes collection object, BalloonLabel object, BalloonLabels collection object, CommandBar object, CommandBarButton object, CommandBarComboBox object, CommandBarControl object, CommandBarControls collection object, CommandBarPopup object, CommandBars collection object, DocumentProperties collection object, DocumentProperty object, FileSearch object, FoundFiles object, PropertyTest object, PropertyTests collection object.
Description
Returns an Application object that represents the container application for the specified object (you can use this property with an Automation object to return that object's container application). Read-only.
Example
This example returns the application in which the command bar named "Documents" was created.
Set Appobj = CommandBars("Document").Application