Syntax
| IsObject(var)
| ||||
---|---|---|---|---|---|
Description
| Return the True if var contains an object reference.
| ||||
See Also
| |||||
Example
| Sub Main
Dim X As Variant
X = 1
Debug.Print IsObject(X) 'False
X = "1"
Debug.Print IsObject(X) 'False
Set X = Nothing
Debug.Print IsObject(X) 'True
End Sub
|