Programming Reference Manual
CVErr
Syntax
CVErr(Num|$)
Description
Convert to a
variant
that contains an error code. An error code can't be used in expressions.
Parameter
Description
Num|$
Convert a number or string value to an error code.
See Also
IsError
.
Example
Sub Main
Debug.Print CVErr(1) ' Error 1
End Sub
Home
IDE Overview
Declarations
Data Types
Assignment
Flow Control
Error Handling
Conversion
Conversion
Array
CBool
CByte
CCur
CDate
CDbl
CDec
CHuge_
CInt
CLng
CSng
CStr
CVar
CVCur
CVDate
CVErr
Hex
Oct
Str
Val
Variable Info
Constant
Math
Financial
Strings
StringClass
Objects
Time/Date
File
User Input
User Dialog
Dialog Functions
Web Form
CCL (web server)
DDE
Settings
Miscellaneous
Operator
Translator