9.0

186
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
IsError Function
Syntax
IsError(expr)
Group
Variable Info
Description
Return the True if expr is an error code.
Parameter Description
expr A variant expression to test for an error code value.
See Also: TypeName, VarType.
Example
Sub Main
Dim
X As Variant
Debug
.Print IsError(X) 'False
X = CVErr
(1)
Debug
.Print IsError(X) 'True
End
Sub
IsMissing Function
Syntax
IsMissing(variantvar)
Group
Variable Info
Description
Return the True if Optional parameter variantvar does not have a default value and it did not get a value. An
Optional parameter may be omitted in the Sub
, Function or Property call.
Parameter Description