nieironsio
Vendor
Hello
I am looking for some help using the BuiltinDocumentProperties object. I am trying to adapt it into a directory index macro. What the macro currently does is use FoundFiles to basically create an index of whatever path you want it to. I then want to offset and list various info on the foundfiles here is an exmaple of my code and where its going wrong - the bottom line using BuiltinDocumentProperties. Thanks for any help in advance...
FileNameOnly = Dir(.FoundFiles(i))
ActiveCell.Formula = FileNameOnly
ActiveCell.Offset(0, 2).Formula = FileDateTime(.FoundFiles(i))
ActiveCell.Offset(0, 1).Value = FileLen(.FoundFiles(i)) / 1000
ActiveCell.Offset(0, 7).Value = .FoundFiles(i)
ActiveCell.Offset(0, 4).Value = foundfiles.BuiltinDocumentProperties("Last Author").Value
I am looking for some help using the BuiltinDocumentProperties object. I am trying to adapt it into a directory index macro. What the macro currently does is use FoundFiles to basically create an index of whatever path you want it to. I then want to offset and list various info on the foundfiles here is an exmaple of my code and where its going wrong - the bottom line using BuiltinDocumentProperties. Thanks for any help in advance...
FileNameOnly = Dir(.FoundFiles(i))
ActiveCell.Formula = FileNameOnly
ActiveCell.Offset(0, 2).Formula = FileDateTime(.FoundFiles(i))
ActiveCell.Offset(0, 1).Value = FileLen(.FoundFiles(i)) / 1000
ActiveCell.Offset(0, 7).Value = .FoundFiles(i)
ActiveCell.Offset(0, 4).Value = foundfiles.BuiltinDocumentProperties("Last Author").Value