I found this macro through SolidWorks Help to do PACK AND GO from a macro. http://help.solidworks.com/2015/english/api/sldworksapi/Pack_and_Go_an_Assembly_Example_VB.htm
I am looking for a solution to run a PACK AND GO only for the selected files.
I don't want to carry the library components to get saved into my new folder when I do a PACK AND GO. I want those library parts that have a specific name in their path such as “STD Parts” remain in library and just show up in my assembly.
I am looking forward to your help.