Chapter 30. Accessing One Application from Another Application
So far, this book has shown you 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 applicationUse data objects to store and retrieve information
Communicate via DDE
Communicate via
SendKeys
Understanding the Tools Used to Communicate Between Applications
Most VBA host applications ...
Get Mastering VBA for Microsoft® Office 2010 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.