Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
2007 Office Suites
COMAddIn Object
Properties
 Object Property

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
COMAddIn.Object Property
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.

Visual Basic for Applications
Dim objBaseObject As Object
Set objBaseObject = _
    Application.COMAddIns.Item("msodraa9.ShapeSelect").Object



Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker