- Podcasts
- Computer Learning Zone
- Microsoft Access VBA Error Handling with Err.Description
Microsoft Access VBA Error Handling with Err.Description
Computer Learning Zone
- December 5, 2026
- 4 min
About this episode
When an Access VBA procedure fails, a generic message like "Error" is not much help. This episode explains how an error handler can use Err.Description to display the actual reason VBA stopped, such as "Invalid use of Null" or "Division by zero."
Learn why Err.Number and Err.Description are the two error details you will use most often, and how they make troubleshooting database code far less mysterious. The discussion also covers a common error-handling trap: forgetting to exit the procedure before execution falls into the error handler even when no error occurred.
A practical look at making Access VBA errors easier to understand, diagnose, and fix without relying on the default system dialog box.
