Cancel a different macro?

Have you seen this:

It may or may not be what you want.

But another way of telling another macro to cancel is for Macro B (the macro to be cancelled) to be in a While action loop that checks a Global Variable (say "CancelNow") for a specific value. So While "CancelNow" is not "YES" continue the loop.

In Macro A, when you want to cancel Macro B, set "CancelNow" to "YES".

Make sense?