If you're sending instructions to another application, e.g. sendkeys, try putting a DoEvents command after the command. The program won't continue until the event is completed.
If you're "Shelling" a command, try the tip below,

http://www.vb-world.net/tips/tip5.html
Al.


------------------
A computer is a tool, not a toy.
<A HREF="mailto:[email protected]
[email protected]">[email protected]
[email protected]</A>



[This message has been edited by Al Smith (edited 01-12-2000).]