J
Just Me
When I need to cancel when Esc is pressed this is what I do:
In KeyUp I set a module level variable if Esc is pressed.
Where I want to check for cancel I do a DoEvents and then check that
variable.
This is probably a long loop so DoEvents is executed often and I takes a
performance hit.
Is there a better way?
Thanks
In KeyUp I set a module level variable if Esc is pressed.
Where I want to check for cancel I do a DoEvents and then check that
variable.
This is probably a long loop so DoEvents is executed often and I takes a
performance hit.
Is there a better way?
Thanks