User-defined error

The application has executed the Error n% statement which caused a trappable user-defined error. If the Error statement specifies an error code that is not used by Visual Basic, the message "User-defined error" is displayed.