Jump to content

Kevin Smith

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Kevin Smith

    How to remove metadata from Word document (using OLE)

    Yes it looks like. Do you know how I can get rid of "Last author" property ?
  2. Hello, I'm trying to remove Word metadata using OLE. I can remove Author but I can't remove "Last author". I use following code: vEditor:= CreateOleObject('Word.Application'); vEditor.Visible:=True; vDoc:= vEditor.Documents.Open('sample.docx'); vDoc.BuiltInDocumentProperties.Item['Author']):= '';//It works! vDoc.BuiltInDocumentProperties.Item['Last Author']):= '';//It doesn't work vDoc.Save; vDoc.Close; vEditor.Quit; I hope you have some experience with such a task and you can help me. If there is other solution than using OLE please also give me an info.
×