Wait Method

         Example         Applies To

Pauses a running macro until a specified time. Returns True if the specified time has arrived.

Important   The Wait method suspends all Microsoft Excel activity and may prevent you from performing other operations on your computer while Wait is in effect. However, background processes such as printing and recalculation continue.

Syntax

expression.Wait(Time)

expression   Required. An expression that returns an Application object.

Time   Required Variant. The time at which you want the macro to resume, in Microsoft Excel date format.