Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Error
Collapse the table of content
Expand the table of content

Error

The Error keyword either simulates or responds to a run-time error.

The Error keyword is used in these contexts:

Error Statement

On Error Statement

See Also

Visual Basic Language Keywords | Exception Handling

Show:
© 2015 Microsoft