Does anyone have a macro or API for saving a weldment cut list as an excell file?

I would like to create a macro that will save my cut lists as an excel file.  If anyone has experience with this or know a good reference site, I would greatly appreciate the guidance.

Thanks,

Ian

SolidworksApi macros