Trigger Macro from Excel to get custom property

I'm working with customized BOM. For that i need to trigger a macro to get custom property from active component. while working on it i got a issue as like below

And I have attached that excel file. Kindly review that and let me know the possibilities.

Thanks

SolidworksApi macros