_Application.Wait(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.