Error Function
Returns the error message that corresponds to a given error code.
Syntax:
Error (Expression)
Return value:
String
Parameters:
Expression: Any numeric expression that contains the error code of the error message that you want to return.
If no parameters are passed, the Error function returns the error message of the most recent error that occurred during program execution.
4 Incorrect entry; please retry
18 Process interrupted by user
35 Sub-procedure or function procedure not defined
52 Invalid file name or file number
74 Renaming on different drives impossible
280 Awaiting response to DDE connection
282 No application responded to DDE connect initiation
283 Too many applications responded to DDE connect initiation
285 External application cannot execute DDE operation
286 Timeout while waiting for DDE response
287 user pressed ESCAPE during DDE operation
289 DDE operation without data
291 External application has been terminated
292 DDE connection interrupted or modified
293 DDE method invoked with no channel open
296 Paste link already performed
297 Link mode cannot be set due to invalid link topic
298 DDE requires the DDEML.DLL file
323 Module cannot be loaded; invalid format
382 This property is read-only
394 This property is write-only
423 Property or method not found
430 OLE Automation is not supported by this object
438 This property or method is not supported by the object
445 This action is not supported by given object
446 Named arguments are not supported by given object
447 The current locale setting is not supported by the given object
450 Invalid number of arguments
453 Specified DLL function not found
958 Sub procedure or function procedure already defined
961 Array or procedure not found
966 Statement block still open: missing
968 Symbol already defined differently
969 Parameters do not correspond to procedure
970 Invalid character in number
973 not allowed within a procedure
974 not allowed outside a procedure
975 Dimension specifications do not match
979 Strings or arrays not permitted
1000 Object does not have this property
1001 Object does not have this method
1002 Required argument lacking