totn Access 2003 VBA Debugging

MS Access 2003: Debug Mode in VBA

This MSAccess tutorial explains the debugging mode in the VBA environment in Access 2003 (with screenshots and step-by-step instructions).

Debug Mode

Now that we know how to set and clear breakpoints, let's take a closer look at the debug mode in VBA. As you can see, we have set a breakpoint as indicated by the red dot with the line of code highlighted in red.

Microsoft Access

When we click on the cmdRunReport button, the VBA code will be executed.

When the breakpoint is reached, Access will display the Microsoft Visual Basic window and highlight the line (in yellow) where the code has been suspended.

Microsoft Access