Home > Language Reference > Error Codes List > Error Codes for Excel Functions

Error Codes for Excel Functions

Error code   Explanation
 -2  Index too big (the array is smaller than the number of cells)
 -1  ColeDispatch Exception : Error returned by Excel when an invalid operation is attempted by an Excel function
 -1  Timeout elapsed for the macro (ExecExcelMacro function)
 2      The Excel workbook does not exist
 107

 The macro cannot be found (ExecExcelMacro function)

See also

Error Codes for Capture Functions
Error Codes for Database Functions
Error Codes for File Functions
Error Codes for FTP Functions
Error Codes for Program Flow Functions
Error Codes for System Functions
Error Codes for UI Automation functions
Error Codes for User Dialog Functions
Error Codes for Wait Functions
Error Codes for Web Functions
Error Codes for Windows Management Functions
Error Codes for XML Functions