Syntax |
DoEvents[()] |
Description |
Yields control to other applications, returning an Integer 0. |
Comments |
This statement yields control to the operating system, allowing other applications to process mouse, keyboard, and other messages. If a SendKeys statement is active, this statement waits until all the keys in the queue have been processed. |
Example |
The following routine explicitly yields to allow other applications to execute and refresh on a regular basis. Sub Main() Open "test.txt" For Output As
#1 |
See Also |
DoEvents (statement). |
D |