Application.wait
can be used to wait (other programming languages call it sleep) until a specific time is reached. sub main() msgBox "I am going to sleep for 3 seconds" application.wait now + timeValue("0:00:03") msgBox "finished." end sub
application.wait
is not available in Word's application
object. application.onTime
allows to schedule the execution of a procedure. application
object.