October 2025
Intermediate to advanced
704 pages
17h 57m
English
In this chapter, you will:
Use early and late binding to reference a Word object
Use the New keyword to reference the Word application
Use the CreateObject function to create a new instance of an object
Use the GetObject function to reference an existing instance of Word
Use constant values
Be introduced to some of Word’s objects
Control form fields in Word
Word, Excel, PowerPoint, Outlook, and Access all use the same VBA language. The only difference is their object models. For example, Excel has a Workbooks object, and Word has Documents. In addition to the Microsoft Office applications, many other programs—both from Microsoft and third-party developers—can also be controlled through VBA, as long as those programs ...
Read now
Unlock full access