If
Workbooks.Count > 0
Then
Set
FSO = CreateObject(
"Scripting.FileSystemObject"
)
Set
objFile = FSO.GetFile(ActiveWorkbook.FullName)
lstHist.Clear
With
lstHist
On
Error
Resume
Next
.AddItem
"BiDP"
.List(0, 1) =
"Druck"
.List(0, 2) = ActiveWorkbook.BuiltinDocumentProperties(10).Value
.List(0, 3) =
""
On
Error
GoTo
0
On
Error
Resume
Next
.AddItem
"BiDP"
.List(1, 1) =
"Erstellung"
.List(1, 2) = ActiveWorkbook.BuiltinDocumentProperties(11).Value
.List(1, 3) = ActiveWorkbook.BuiltinDocumentProperties(3).Value
On
Error
GoTo
0
On
Error
Resume
Next
.AddItem
"BiDP"
.List(2, 1) =
"Speicherung"
.List(2, 2) = ActiveWorkbook.BuiltinDocumentProperties(12).Value
.List(2, 3) = ActiveWorkbook.BuiltinDocumentProperties(7).Value
On
Error
GoTo
0
On
Error
Resume
Next
.AddItem
"FSO"
.List(3, 1) =
"Erstellung"
.List(3, 2) = objFile.DateCreated
.List(3, 3) =
""
On
Error
GoTo
0
On
Error
Resume
Next
.AddItem
"FSO"
.List(4, 1) =
"Änderung"
.List(4, 2) = objFile.DateLastModified
.List(4, 3) =
""
On
Error
GoTo
0
On
Error
Resume
Next
.AddItem
"FSO"
.List(5, 1) =
"Zugriff"
.List(5, 2) = objFile.DateLastAccessed
.List(5, 3) =
""
On
Error
GoTo
0
End
With