How to Start and Manipulate Applications from a Macro
There are two general techniques for starting and manipulating applications from a Macro:
- If the application supports COM, use the CreateObject function in a VBScript macro to start the application. A thorough discussion of this can be found in the section on Integrating COM Applications with VBScript Macros.
- Use features of the Windows Script Host to launch the application. This technique is discussed in the section on Automating Windows Tasks with VBScript Macros.