IsEmpty Function
Syntax IsEmpty(expr)
Group Variable Info
Description Return the True if expr is Empty.
Parameter Description
expr A expression is Empty if it has never been assign a value.
See Also TypeName, VarType.
Example
'#Language
"WWB-COM"
Sub Main
Dim X As
Variant
Debug.Print IsEmpty(X)
'True
X = 0
Debug.Print IsEmpty(X) 'False
X =
Empty
Debug.Print IsEmpty(X)
'True
End Sub