Macro for removing the leader of a selected note

Searching on the forum I found this thread:

https://forum.solidworks.com/message/321135?commentID=321135#comment-321135 

But it seems quite different of what I want, because I have ballons that need to remain with the leader.

Obrigado.

SolidworksApi/macros