DoEvents method
Syntax
Invoke DoEvents
Function
Allows the operating system to process messages.
Parameters
None
Return value
REMARKS: This method can be useful to allow the operating system to process messages while inside a loop.