Create/Extract from Word custom properties field

Does anyone know of Applescripts to:

a) create custom properties fields for a MS Word document
b) enter and extract text from said custom fields

?

Any help gratefully received,

P.