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
If Application.COMAddIns(1).Connect Then MsgBox "The add-in is connected." Else MsgBox "The add-in is not connected." End If
connect connect property ofv

See also: