Description Returns the code of an error that occurred during the last operation. You can check this error code when the method you call returns False, or there is no return value for that method. Use GetErrorString to retrieve the error string matched to the error code.
Syntax ErrorCode = [BIDisp.]GetLastError
Remarks ErrorCode Integer The code of the last error.
See Also GetErrorString Method