SW Custom Properties Macro

I suspect this has been discussed before but I am new tothis.

I would like to create a macro that creates various file customerproperties, including those linked propreties of material, surfacearea, weight.

The macro playback seems to bomb out on these linked propretieswhen I enter them manually or record a macro and select them.

Any ideas for a newbie.SolidworksGeneral