I don't understand why one would use the DoEvents function.
How does it affect the application?

Thanks.
Dan.