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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.