Syntax
expr Is expr
-or-
expr IsNot expr
Group
Operator
Description
Return the True if both exprs refer to the same object.
The IsNot operator inverts the result.
See Also
Objects
Example
Sub Main
Dim X As Object
Dim Y As Object
Debug.Print X Is Y ' True
Debug.Print X IsNot Y ' False
End Sub