stop a program
I have a program which runs a clock loop.
I want to stop it at any time by one mouse click of
something - a toolbar or worksheet button - whatever.
I can of course stop it by Ctrl + BREAK.
It's the code to do the stopping I can't get - rather than
the means of applying it.
I assume the appropriate code would have to go into the
loop so that the stopping instruction is seen at each pass.
Can anyone please help.
Don
|