I am trying to make a macro that can reference when another workbook was last updated without opening it.
I found this one but it only works on the active workbook:
Function LastModified() as Date
LastModified = ActiveWorkbook.BuiltinDocumentProperties("Last Save Time")
End Function
What I want is something like this:
Function LastModified() as Date
LastModified = path."c:/test.xlsx".BuiltinDocumentProperties("Last Save Time")
End Function
But that didn't work of course. How do I fix this?