20. Automating Word
In This Chapter
Using Early Binding to Reference the Word Object
Using Late Binding to Reference the Word Object
Using the New
Keyword to Reference the 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 another application’s object model as long as the second application is installed.
To access Word’s ...
Get Excel® 2013 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.