Summing Up

An essential aspect of VBA programming is controlling program execution: which lines of code execute and which do not, when they execute, and how many times they execute. VBA's conditional and loop statements, covered in this chapter, provide you with complete control over program execution. With a good understanding of these statements, you'll be able to write VBA code that does just what you want it to do.

Get Office® XP Development with VBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.