Batch fill a unique number into drawing custom property

Hello,

I currently have a problem where I have a batch of about 400 drawings that all require a unique number adding in to a custom property field in the drawing.

The unique set of numbers I have are listed in an excel document and I would like to know if there is a macro I can run to apply a unique number into all 400 drawings in one go.

Hope this makes sense,

Regards,

Matthew

SolidworksApi macros