I have the following code in which I want the filename and the BuiltinDocumentProperty("Comments"
value. I can get the filename but can't get the builtinDocumentProperty. ANY help?
Dim fs, objFolder, filecollection, i, filename, intComments, myDoc
Dim Doc As Document
Set fs = CreateObject("Scripting.FileSystemObject"
Set objFolder = fs.GetFolder("c:\WUTEMP"
Set filecollection = objFolder.Files
For Each filename In filecollection
i = i + 1
MsgBox filename
Doc.BuiltInDocumentProperties("Comments"
= intComments
MsgBox intComments
Next
Dim fs, objFolder, filecollection, i, filename, intComments, myDoc
Dim Doc As Document
Set fs = CreateObject("Scripting.FileSystemObject"
Set objFolder = fs.GetFolder("c:\WUTEMP"
Set filecollection = objFolder.Files
For Each filename In filecollection
i = i + 1
MsgBox filename
Doc.BuiltInDocumentProperties("Comments"
MsgBox intComments
Next