In an Excel worksheet, say I have a column called program counter and another column has the function that it should call. I have created a userform as illustrated in the image. Enter the program counter which you want your program to run up to. For example, if you enter program counter as 20 and click Run, the program runs from 1 till 20. However, if it was in the middle of running and you click on 'Pause', the program should stop running. How can I do this? How do I resume upon pressing t he resume button? Any help would be much appreciated. Thanks.