This is not my first time writing macros, but this is the first one I thought some other people might get some good use out of.
I use virtual parts on almost every project we do. And I figured it should be easy enough to create a macro that inserts 10 parts at a time instead of manually inputting a new part over and over. Well this thing has worked pretty well for my needs over the past six months with a few tweaks here and there.
I hope someone else can get some use out of it.
BTW modify it however you want to suit your needs. I have no proprietary hold on this I hope a couple of people can get some use out of it.
On a side note solidworks should allow hte ability to save an assembly with virtual parts as a template. I have tried the various methods of renaming file structure to create one and the like. Unfortunately they are not stable and corrupt pretty frequently.