Hi a have a big Excel program. The only macro that I use is a button that turns the calculation mode to manual and then makes a "calculate". This takes about 2 min and then it get back to an automatic calculation mode.
The problem is that when it is running and that a user press the "Esc" button, the calculation does not complete.
Is there a way to prevent this?
I have tried to disable the "Application.EnableCancelKey" but It did not worked. Also I tried Application.OnKey "{ESC}", "" but nothing also....
Help would be greatly appreciated.
Thanks!
The problem is that when it is running and that a user press the "Esc" button, the calculation does not complete.
Is there a way to prevent this?
I have tried to disable the "Application.EnableCancelKey" but It did not worked. Also I tried Application.OnKey "{ESC}", "" but nothing also....
Help would be greatly appreciated.
Thanks!