Two ways
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Sub WaitSeconds()
Sleep 1000 * 3 ' 3 seconds
End Sub
and
Sub WaitFor()
Application.Wait Now + TimeSerial(0, 0, 3) ' 3 seconds
End Sub
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"StargateFan" <IDon'tAcceptSpam@IDon'tAcceptSpam.com> wrote in message
news:(E-Mail Removed)...
>I searched through the archives and there were a few messages
> discussing this but no actual syntax could be found (at least during 2
> searches).
>
> Is there any vb equivalent to "Sleep()"?
>
> Thanks.
D
>