Kevin Smith
-
Content Count
2 -
Joined
-
Last visited
Posts posted by Kevin Smith
-
-
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.
How to remove metadata from Word document (using OLE)
in General Help
Posted · Edited by Kevin Smith
Yes it looks like. Do you know how I can get rid of "Last author" property ?