Programmatically access document properties

Posted by ngm on Stack Overflow See other posts from Stack Overflow or by ngm
Published on 2010-04-14T14:49:09Z Indexed on 2010/04/14 16:13 UTC
Read the original article Hit count: 318

Is there a way in which I can programmatically access the document properties of a Word 2007 document?

I am open to using any language for this, but ideally it might be via a PowerShell script.

My overall aim is to traverse the documents somewhere on a filesystem, parse some document properties from these documents, and then collate all of these properties back together into a new Word document.

(I essentially want to automatically create a document which is a list of all documents beneath a certain folder of the filesystem; and this list would contain such things as the Title, Abstract and Author document properties; the CreateDate field; etc. for each document)

© Stack Overflow or respective owner

Related posts about word

Related posts about office-2007