CVErr Function | 
                                                        
Syntax:
CVErr(expr)
Group:
Description:
Converts to a variant that contains an error code. An error code can't be used in expressions.
Parameters:
| 
                                                                 Parameter  | 
                                                            
                                                                 Description  | 
                                                        
| 
                                                                 Converts a number or string value to an error code.  | 
                                                        
Example:
Sub Main
  Debug.Print CVErr(1) ' Error 1
EndSub
See Also: