COMAddIn.Object property (Office)
Gets or sets an object reference. Read/write.
Syntax
expression.Object
expression A variable that represents a COMAddIn object.
Remarks
The Object property is a read/write property in which any object reference can be stored. In this regard, it is similar to the general-purpose Tag property of certain ActiveX controls.
In some cases, the Object property returns the object represented by the specified COMAddIn object; otherwise, it returns Nothing by default.
Example
The following example returns the object represented by the COM add-in msodraa9.ShapeSelect.
Dim objBaseObject As Object
Set objBaseObject = _
Application.COMAddIns.Item("msodraa9.ShapeSelect").Object
See also
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.