In my program, I call the excel application to perform a long operation task upon responding to a click onto a command buton. I like to know how do I by pass the display of the Component Request Pending dialog and raise an error trap in responding to the mouse clicks, or a keypress. In another word, my purpose is after clicking the button to perform the excel job, if somehow the user click the cancel button or escape key, i could be able to stop the program or pausing it. Any suggestion will be a big help. Thanks