Am Wed, 1 Nov 2006 10:54:17 UTC, schrieb "Rakshit"
<raksh15@gmail.com> auf microsoft.public.word.vba.general :
> wordApp.ActiveDocument.BuiltinDocumentProperties("Title") = ThisFile2
try to modify not the object as such, but its "Value" property, like
this:
wordApp.ActiveDocument.BuiltinDocumentProperties("Title").Value =
ThisFile2
just hoping that "ThisFile2" is a text string...
Yours,
L.W.
Rakshit - 03 Nov 2006 07:40 GMT
Hi Luko,
Thanks so much for the help. It really helped. I tried working around
with what you suggested and stumbled upon the solution to the problem.
I had to basically add a line before saving and closing the files like
the following.
wordApp.ActiveDocument.Saved = False
wordDoc.Save
wordDoc.Close
this saves the files each time it opens it new by making it's saved
property false.
Thanks again for the help.
Yours,
Rakshit