You are not limited to using objects built into Microsoft Office Access. VBA allows you to create your own objects and collections of objects, complete with their own methods and properties. In this chapter, you learn how to work with collections, including how to declare a custom Collection object. You also learn how to use class modules to create user-defined objects.
Before diving into theory and the hands-on examples of this chapter, let’s start by going over several terms that will be used throughout this chapter.
Collection — An object that contains a set of related objects.
Class — A definition of an object that includes its name, properties, methods, and events. The class acts as ...