• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Code has been interrupted

ThrottleWorks

Excel Ninja
Hi,

My friend is getting 'Code has been interrupted" warning when he tried to run any macro on his PC.

The options are Continue and Debug. When we click on Continue macro runs some steps and throws the same error.

There is no uniformity about when the macro will throw this pop-up.
I tried clicking on Debug and checking if there is any pattern but could not find any.

Has anyone here faced the same problem, can anyone please help me in this.

PS - Will check the below mentioned line. Not sure if this will work and why.

http://www.maheshsubramaniya.com/ar...has-been-interrupted-in-excel-vba-macros.html

"Application.EnableCancelKey = xlDisabled" This line worked. Though do not know how and why. :( :p
 
Can you change out the keyboard? Might be an issue of having a stuck key, or a faulty keyboard sending an errant message.
 
Back
Top