Has anyone written a macro to add letters next to similar fasteners in a drawing, like a hole table does with holes?

I have a several sheet metal parts that have several hundred pem inserts in each, and there are around 30+ different types of pems being used.  I know I can let the autoballoon balloon each instance of a part in the drawing, but that isn't what I'm needing to do.

What I'm looking for is something similar to the way the hole table puts letters next to similar holes.

Has anyone written such a thing? Or something similar that I can edit to fit my need?

Thanks in advance.

SolidworksApi macros