I'm doing some update to an Excel workbook that another person originally made. I notice that he begins all of his macros with following code:
Dim PauseTime, Start
PauseTime = 0.5
Start = Timer
Do While Timer < Start + PauseTime
DoEvents
Loop
I don't know what the purpose for this code is and thought maybe it was something that is a good idea to put in for some reason. Any insights?
Dim PauseTime, Start
PauseTime = 0.5
Start = Timer
Do While Timer < Start + PauseTime
DoEvents
Loop
I don't know what the purpose for this code is and thought maybe it was something that is a good idea to put in for some reason. Any insights?