Jump to content

Kevin Smith

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by Kevin Smith

  1. 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.
  2. 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 ?
×