How to change multiple files materials, all configuration SW 2014 Win 7 x64

Hello

I'm in need of changing the materials of multiple parts. I need to change around 500 parts so it's not very efficient doing it part by part.

I can't do macro as yet, but I found this very helpful post and the OP had the same issue as mine.

Although when I try and run the code, the an error appears. I have attached a screenshot of such error.

Now, further research lead me to find another macro, that is compatible and it runs successfully. Although it only changes one configuration, so not very helpful Change Part Material.swp .

I've tried playing with some code, but it got me nowhere.

I would greatly appreciate if someone could help me sort out this issue.

I'm running Win 7 x64 with SW 2014

Thank you!

SolidworksParts And Features