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.