Part III: More-Advanced Access Techniques
794
FIGURE 22.2
IntelliSense provides insight into referenced object libraries.
Class
Object Library
Auto List Members
FIGURE 22.3
The VBA IntelliSense feature makes it easy to use Automation servers.
Auto List Members for an object
Late-binding an object
If you don’t explicitly reference an object library by using the References dialog box, you can set an
object’s reference in code by first declaring a variable as an object and then using the Set com-
mand to bind the object variable to an Automation reference. This process is known as late binding.
For example, the following statements late-bind an object variable to the Microsoft Word
Application object: