Bewerken

Delen via


_Application.Wait(Object) Method

Definition

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

public:
 bool Wait(System::Object ^ Time);
public bool Wait (object Time);
Public Function Wait (Time As Object) As Boolean

Parameters

Time
Object

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

Returns

Remarks

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.

Applies to