I have a loop that runs through and updates excel sheets. The form that calls this process has a cancel button on it, but it is useless because the click events are ignored while the loop is running. Any ideas how I can make the cancel button work? Btw, I have already used DoEvents to set the focus back to the cancel button on the form.