Info

What Happens When an Error Occurs 467

Basic Error Handling with the On Error GoTo Syntax 470

Generic Error Handlers 472

Train Your Clients 474

Errors While Developing Versus Errors Months Later 475

The Ills of Protecting Code 477

Case Study: Password Cracking 477

More Problems with Passwords 478

Errors Caused by Different Versions 478

Next Steps 479

Figure 23.1

An unhandled error in an unprotected module presents you with a choice to End or Debug.

Figure 23.1

An unhandled error in an unprotected module presents you with a choice to End or Debug.

Figure 23.2

After clicking debug,the macro is in break mode. You can hover the mouse cursor over a variable and after a few seconds, the current value of the variable is shown.

Figure 23.2

After clicking debug,the macro is in break mode. You can hover the mouse cursor over a variable and after a few seconds, the current value of the variable is shown.

Figure 23.3

The Reset button looks like the Stop button in the set of three buttons that resemble a VCR control panel.

Figure 23.3

The Reset button looks like the Stop button in the set of three buttons that resemble a VCR control panel.

0 0

Post a comment