I have created a program which carries out quite lengthy calculations. I want to add an option to cancel the calculation at any point.<br><br>I added a Command Button to act as a Cancel button, but when this button is clicked the calculation routines continue.<br><br>How do I stop the calculation routines after the Cancel button has been pressed?