WD2000: Shell Command Does Not Wait for Application to Finish (212547)
The information in this article applies to:
This article was previously published under Q212547 SUMMARY
When you use the Shell command to start another program from a Visual Basic for Applications macro, Word does not wait for the started program to finish before running the rest of the macro. This article contains a sample macro that can determine whether a started program is still running.
REFERENCES
For more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:
226118 OFF2000: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kbhowto kbinterop kbmacroexample kbProgramming KB212547 |
---|
|