Timer function (Visual Basic for Applications) | Microsoft . . .
In Windows, the Timer function returns fractional portions of a second. On the Macintosh, timer resolution is one second. This example uses the Timer function to pause the application. The example also uses DoEvents to yield to other processes during the pause. Dim PauseTime, Start, Finish . . .