IsNot Operator

Syntax

expr IsNot expr

Group

Operator

Description

Return the False if both exprs refer to the same object.

VBA

This language element is not VBA compatible and requires the #Language "WWB-COM" setting.

Example


Sub Main
    Dim X As Object
    Dim Y As Object
    Debug.Print X IsNot Y ' False
End Sub

See also

Objects