Unfortunately, VBA is trying to help you with this annoying
behavior. There is no way around it.
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"davegb" wrote in message
ups.com...
When I create a macro with a userform, whenever I test run the
macro
and it hangs, when I click on the stop button, the window goes
to the
userform window and I have to click back to the code. Is there
anyway
to stop this annoying behavior?
Thanks!