Chapter 4. VBA Basics

Now that you know a bit about automating Access, using macros, and how VBA fits into the Access automation picture, you're almost ready to write some code. All that's left is to spend a few pages reviewing VBA basics.

For experienced programmers, this chapter will be unnecessary; however, if you're just delving into VBA from another programming language or from VBScript, this chapter contains vital information you'll need to successfully use the subsequent chapters in this book. We'll cover the basic VBA programming objects, learn about variables and how to declare them, and review some additional VBA structures you'll use in your code. Along the way, we'll build a few procedures you can use directly in your application to perform various tasks.

Get Access 2003 VBA Programmer's Reference 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.