Is there any way to export custom properties for all parts in assembly to excel?

I need to export custom properties for all parts in assembly to excel? is there any way to do that.?

Let say have a material name. I want to export material property to excel for all parts in assembly.

Thanks

SolidworksApi macros