You can not have 2 macros running at the same time.

You can not run one macro to stop another macro directly.


When no macros are already running you can run one macro that changes a setting like a variable or a cell value

The other macros would need to test the value of that setting and if it equals required value then runs an end or exit sub command.


This is what this part of the code is for

If Range("A1").Value = Range("A2").Value Then
     End
 End If
With the above code it would not work unless the 2 times were exact it probally should be


If Range("A1").Value >= Range("A2").Value Then
     End
 End If