Macro for checking External Ref's on an entire Assembly

Does anyone have a macro that could be run on an entire assembly to identify any components that have sketches or features with external references?  My PDM software makes working with external ref's nearly impossible.   Our work teams are setup so that 3-4 engineers work on one project and not everyone is good at going back and breaking links after finalizing a part.  I could really use a tool that could identify these link so we could break as many as possible (without hours of searching through every part one at a time).  Thanks in advance.

SolidworksAssemblies