COMAddIn.Connect Property
Gets or sets the state of the connection for the specified COMAddIn object. Read/write.
Syntax
expression.Connect
expression A variable that represents a COMAddIn object.
Remarks
The Connect property returns True if the add-in is active; it returns False if the add-in is inactive. An active add-in is registered and connected; an inactive add-in is registered but not currently connected.
Example
The following example displays a message box that indicates whether COM add-in one is registered and currently connected.
| Visual Basic for Applications |
|---|
|