-Mel
From Example 8.4 on my Web site (http://www.PowerfulPowerPoint.com/):
Sub Wait()
waitTime = 5
Start = Timer
While Timer < Start + waitTime
DoEvents
Wend
End Sub
This will wait for 5 seconds.
--David
--
David M. Marcovitz
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
Microsoft PowerPoint MVP
Associate Professor, Loyola University Maryland
Put your macro to Sleep
http://www.pptfaq.com/FAQ00466.htm
There are more sophisticated ways of doing it, like launching the bat
file and monitoring its window, not proceeding until it closes. But if
you know that your bat file will complete in a short time and don't
mind waiting a few milliseconds extra here and there ... Sleep's the
simplest, most reliable way to get the job done.
==============================
PPT Frequently Asked Questions
http://www.pptfaq.com/
PPTools add-ins for PowerPoint
http://www.pptools.com/