I have a long running process (a Do Loop). I would like the user to be able to gracefully stop the process by clicking a cancel button or pressing an escape key.
I believe I need to use DoEvents, but I could use some examples as a guide.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.