Name

Application.OnTime(EarliestTime, Procedure, [LatestTime], [Schedule])

Synopsis

Sets the name of a procedure to run at a specified time.

Argument

Setting

EarliestTime

The earliest time you want to run the procedure.

Procedure

The name of the procedure to run.

LatestTime

The latest time you want to run the procedure. Default is no limit.

Schedule

True schedules the procedure to run; False removes the procedure from the schedule to run. Default is True.

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.