ebObject (constant)

Description

Number representing the type of an Object variant (an OLE automation object).

Comments

This constant is equal to 9.

Example

Sub Main()
  Dim MyVariant
  If VarType(MyVariant) = ebObject Then
    MsgBox MyVariant.Value
  Else
    MsgBox "'MyVariant' is not an object."
  End If
End Sub

See Also

VarType (function); Variant (data type).

More information

E