right now I am using the DoEvents statment withing my loop to allow the user to click on buttons while the loop is running, a cancel button to be specific, the command that I am using when that button is press is END, this works great for the most part however that command completly stops the macro and exits everything, If I put any code after that statement, it does nothing, I was wondering what I would need to do to keep the form from closing?