Replace all materials in assembly

We have setup a new customized material database. We have certain assemblies in which all parts have the same material. Is it possible (maybe with a macro) to replace the material from all parts in this assembly to an other material from the new database?

Regards,

Hugo

SolidworksAssemblies