_Application.Wait method

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

bool Wait(
	Object Time
)

Parameters

Time
Type: System.Object

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

Return value

Type: System.Boolean

Important noteImportant

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.

Show: