CVErr Function

Syntax              CVErr(expr)

Group                Conversion

Description       Convert to a variant that contains an error code. An error code can't be used in expressions.

Parameter         Description

expr                    Convert a number or string value to an error code.

See Also            IsError.

Example            '#Language "WWB-COM"
Sub Main
    Debug.Print CVErr(1) ' Error 1
EndSub