GETTING STARTED WITH VBA

VBA adds support for object-oriented features, a browser for viewing an object's functionality, and the capability to define custom public and private properties and methods. The rest of this chapter introduces you to these powerful new features.

Introducing Objects

VBA adds some basic object-oriented features. Your application consists of many objects. An object can be thought of as a single unit that contains code and data that serve a common purpose. Table 2.1 lists object examples.

Table 2.1. Example and Descriptions of Objects
Object Description
Text box All controls are objects.
Form Every form in your application is a separate object.
Table Each table in your application contains other objects, such as fields and ...

Get F. Scott Barker's Microsoft® Access 2000 Power Programming 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.