Thread: pause in script
View Single Post
  #1  
Old February 24th 06, 02:37 PM posted to microsoft.public.outlook.program_vba
Michael Bednarek
external usenet poster
 
Posts: 28
Default pause in script

On Thu, 23 Feb 2006 07:38:11 -0800, Joel Allen wrote in
microsoft.public.outlook.program_vba:

I just want to add a 5 second pause in my script. Can someone point me to
some sample code - I couldn't find the command?


This is what I use:
Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
and then
Sleep 5000 ' Sleep 5 seconds

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
Ads