Export custom properties to MS Access

Hi, I am looking at ways of exporting selected custom properties to an MS access database.

I have found examples of expoting to Excel, which I will try and base my add in on, but wondered if anyone had any examples I could use as a starting point. I have done a quick search but nothing obvious came up.

Thanks

SolidworksApi macros