Calling an external program (and waiting until it's finished) 
Author Message
 Calling an external program (and waiting until it's finished)

I am trying to run an external program (a batch file on my local machine)
from within VBA.  When the program has finished, I want the VBA to continue.
Anyone know how to do this?

Thanks in advance.
KC



Sun, 13 Jul 2003 01:34:38 GMT  
 Calling an external program (and waiting until it's finished)
Use the Shell command. See the VBA help for information about how to
use that method.

--
Ken Slovak
[MVP - Outlook]
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13,
Appendices, Sams


Quote:
> I am trying to run an external program (a batch file on my local
machine)
> from within VBA.  When the program has finished, I want the VBA to
continue.
> Anyone know how to do this?

> Thanks in advance.
> KC



Sun, 13 Jul 2003 03:08:24 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Waiting until external program finished to continue processing

2. Force a sub to wait until another sub (called first by a timer) is finished

3. How can I wait until a program finishes ?

4. Calling external apps and waiting for them to finish

5. waiting for external program to finish (modally)

6. Waiting for external programs to finish

7. Add'l: How to start program and wait until it is complete from VB 4.0

8. Wait until document printing is finished

9. Wait until form_load is finished

10. Waiting until Shell finished

11. Wait until logonscript finishes executing...

12. Launching an App and Waiting Until it Finishes

 

 
Powered by phpBB® Forum Software