Is there a way to do a where used on every part/assembly?

I'd like to do a "where used" on every part and assembly onour server and save the report (this part is easy enough). Is thisa possibility? If so how is it done? I have a feeling it wouldrequire a custom macro.SolidworksSolidworks Explorer