Radimus, I have now been successful in changing the "Title" and the "Author" of the document. I have confirmed this in both my Hex editor and Word. It surprised me that I did not have to explicitly SAVE the document.

code:
$obj = createobject("word.application")
$objdoc = $obj.Documents.Open("c:\data\scripts\titlea.doc")
for each $property in $objdoc.BuiltinDocumentProperties
? $property.name + "=" + $property.value
next
$objdoc.BuiltinDocumentProperties.item("Title").value="Title www"
$objdoc.BuiltinDocumentProperties.item("Author").value="Kenobi, Obi-Wan (Ben)"


$objdoc.close
$obj.quit



[ 26 May 2002, 23:22: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/