20. Automating Word
In This Chapter
Using Early Binding to Reference a Word Object
Using Late Binding to Reference a Word Object
Using the New
Keyword to Reference a Word Application
Using the CreateObject
Function to Create a New Instance of an Object
Using the GetObject
Function to Reference an Existing Instance of 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
. Any one of these applications can access the object model of another of the applications, as long as the second application is installed.
To access ...
Get Excel 2016 VBA and Macros 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.