In this case they don’t need to pass in these parameters in the request.If however these values don’t exist either in the API request or in the user’s default preferences, then the API will return an error.A run-time error results when a code statement attempts an invalid operation. For a list of things that can cause a run-time error see: "Trappable Errors" in VBA Help.Using the following example macros you can produce some rather obvious run-time errors and then use On Error and Resume statements to illustrate some of the error handling methods.To use these examples, start with a new blank document and copy the example macros to the document VBA project.
As you read the rest of the post, you will notice that getting the latest version of the client and server software (8.5.1 FP1) is a very good idea.31, 0x0000001F, A device attached to the system is not functioning.32, 0x00000020, The process cannot access the file because it is being used by another process.VBA help puts it like this: What is a run-time error?A run-time error is an error that occurs when code is running.
0, 0x00000000, The operation completed successfully. 3, 0x00000003, The system cannot find the path specified. 9, 0x00000009, The storage control block address is invalid. 11, 0x0000000B, An attempt was made to load a program with an incorrect format. 15, 0x0000000F, The system cannot find the drive specified. 17, 0x00000011, The system cannot move the file to a different disk drive. 23, 0x00000017, Data error (cyclic redundancy check) 24, 0x00000018, The program issued a command but the command length is incorrect.