Sub Delay(Seconds) Dim PauseTime, Start Start = Timer ' Set start time. Do While Timer < Start + Seconds DoEvents ' Yield to other processes. Loop End Sub