P
Paul
I am trying to write code to save document properties
through my own dialog in VB7. My Code looks something
like:
Dim oDoc As Word.Document
oDoc = oApp.Documents.Open(FileName:=strFile,
ReadOnly:=False)
oDoc.BuiltInDocumentProperties("Title").Value = "MyText"
oDoc.Save()
oDoc.Close
(SaveChanges:=Word.WdSaveOptions.wdPromptToSaveChanges)
This works on a new document, but after the first time I
save the properties, I can never save them to something
else.
Any Ideas ?
through my own dialog in VB7. My Code looks something
like:
Dim oDoc As Word.Document
oDoc = oApp.Documents.Open(FileName:=strFile,
ReadOnly:=False)
oDoc.BuiltInDocumentProperties("Title").Value = "MyText"
oDoc.Save()
oDoc.Close
(SaveChanges:=Word.WdSaveOptions.wdPromptToSaveChanges)
This works on a new document, but after the first time I
save the properties, I can never save them to something
else.
Any Ideas ?