Export CG's to Excel from Assembly

Lets say I have an assembly mode with 10 parts.

I would like to be able to click a button and export the CG locations of each part into excel.  The cg locations would be measured from the origin of the assembly.

My ideal spreadsheet would look like this:

Part NumberModel WeightXcgYcgZcg
xxxxxxxxx lbsxyz

Is this possible?  This would save me an extreme amount of time.

Thanks and regards.

SolidworksApi macros