Chapter 30Accessing One Application from Another Application

So far, this book has focused on how to work with VBA to perform actions within a VBA host application, such as Word or Access.

But you might sometimes need to communicate between applications as well. This chapter demonstrates four tools you can use to contact and manipulate one application from another: Automation, data objects, Dynamic Data Exchange (DDE), and SendKeys.

Understanding the Tools Used to Communicate Between Applications

The Office ...

Get Mastering VBA for Microsoft Office 2016 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.