How to terminated a Macro Use another Macro

Dear all

In my example.

I have two macro ,named macro 1 and macro 2

when I run Macro 2, I wnat to terminated Marco 1, How can i do?

the reason why I must terminated Macro 1 is because I wnat to updated Macro1 From Server, so I must finished it first.

Yuan

From ShangHai, China

SolidworksApi macros