O'Reilly logo

Business Solutions VBA for the 2007 Microsoft Office System by Paul McFedries

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

15Trapping Program Errors

In Chapter 6, “Controlling Your VBA Code,” I showed you how to use If...Then and other control structures to add “intelligence” to your VBA programs. You’ll notice, however, that whenever people write about coding programs for decision-making and other “smart” things, they always put words such as “intelligence” and “smart” in quotation marks (as I’m doing now). Why? Well, the cynics in the crowd (and those who’ve suffered through a few too many BSODs—blue screens of death) would say it’s because using the words intelligence and program in the same sentence borders on the oxymoronic. However, the more common reason ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required