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.
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.