The Error statement can be used to simulate or force errors to occur. The syntax
is as follows:
Error <error number>
generates an Internal Error.
The Error statement is available in Visual Basic 6 for compatibility with older
versions. With Version 6, you should use the Raise method of the Err object.