Summing Up

In my experience, a lot of programmers don't realize the advantages of class modules right away. They understand how to use them, but don't really see their benefits until they have a bit of programming experience under their belts. The ability to encapsulate data and code in a class can have major advantages in many development scenarios, and is particularly valuable in large, complex projects. The better you understand class modules, the better you will be able to use them in your own work.

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.