R
Rob Diamant
Can someone please point me in the correct direction. I am using Word 2003
and have the following code to set the Title property:
WordObject.ActiveDocument.SaveAs Filename:=rs.Fields(1) & "-" &
rs.Fields(2) & ".doc"
WordObject.ActiveDocument.BuiltInDocumentProperties(wdPropertyTitle) =
"Converted Activity"
WordObject.ActiveDocument.BuiltInDocumentProperties(wdPropertyAuthor) =
"Data Conversion"
WordObject.ActiveDocument.Save
WordObject.ActiveDocument.Close
When I review the results, the Author is correct but the Title is the first
sentance from the document.
Any suggestions will be greatly appreciated.
Rob
and have the following code to set the Title property:
WordObject.ActiveDocument.SaveAs Filename:=rs.Fields(1) & "-" &
rs.Fields(2) & ".doc"
WordObject.ActiveDocument.BuiltInDocumentProperties(wdPropertyTitle) =
"Converted Activity"
WordObject.ActiveDocument.BuiltInDocumentProperties(wdPropertyAuthor) =
"Data Conversion"
WordObject.ActiveDocument.Save
WordObject.ActiveDocument.Close
When I review the results, the Author is correct but the Title is the first
sentance from the document.
Any suggestions will be greatly appreciated.
Rob