Chapter 30
Accessing One Application from Another Application
So far, this book has shown you how to work with VBA to perform actions in the VBA host application. But you’ll sometimes (perhaps often) need to work with other applications as well. This chapter shows you the tools for communicating between applications: Automation, data objects, Dynamic Data Exchange (DDE), and SendKeys.
In this chapter you will learn to:
- Use Automation to transfer information
- Use the Shell function to run an application
- Use data objects to store and retrieve information
- Communicate via DDE
- Communicate via SendKeys
Understanding the Tools for Communicating with Other Applications
Most VBA host applications (such as the Office applications that this chapter uses ...
Get Mastering VBA for Microsoft Office 2007, 2nd Edition 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.