Application.Sleep

Application.Sleep (

number Time )

Description

Causes the application to sleep for a desired period of time.

Note: While sleeping, the application will not respond to mouse movements, clicks, or key presses.

Parameters

Time

(number) The time to sleep, in milliseconds.

Tip: 1000 milliseconds = 1 second

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also: Related Actions