Definition of DoEvents in Visual Basic for Applications (118468)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q118468 SUMMARY
The DoEvents function surrenders execution of the macro so that the
operating system can process other events. The DoEvents function passes
control from the application to the operating system. Some instances in
which DoEvents may be useful include the following:
- Hardware I/O
- Delay Loops
- Operating System Calls
- DDE Deadlocking
This article also discusses potential problems associated with the DoEvents
function.
REFERENCES
For more information about DoEvents, click the Search button in Help
and type:
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | KB118468 |
---|
|