images

Chapter 30

Accessing 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 (perhaps often) need to communicate between applications as well. This chapter shows you the tools for contacting and manipulating one application from another: Automation, data objects, Dynamic Data Exchange (DDE), and SendKeys.

In this chapter you will learn to do the following:

  • Use Automation to transfer information
  • Use the Shell function to run an application
  • Use data objects to store and retrieve information
  • Communicate via DDE ...

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