VBA: Pausing Code Execution

  • Thread starter Thread starter Michael Loganov
  • Start date Start date
M

Michael Loganov

Hi,

how can I pause a code execution for, let's say 5 seconds?

Thanks in advance
Mike
 
Mike,

Try something like the following:

Application.Wait Time:=Now + TimeSerial(0, 0, 5)
 
Back
Top