Date0 = FileDateTime(File)
Lo.ListRows(Lo.ListRows.Count).Range(1, 3) = Date0
...
Lo.Sort.SortFields.Add Key:=Range(
"A5"
), SortOn:=xlSortOnValues, _
Order:=xlAscending, DataOption:=xlSortNormal
With
Lo.Sort
.Header = xlYes
.MatchCase =
False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End
With
Lo.Sort.SortFields.Add Key:=Range(
"C5"
), SortOn:=xlSortOnValues, _
Order:=xlDescending, DataOption:=xlSortNormal
With
Lo.Sort
.Header = xlYes
.MatchCase =
False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End
With
(Dank der Sortierung nach Änderungsdatum der Datei, bei gleichem Projektnamen)
Lo.Sort.SortFields.Clear
Lo.Sort.SortFields.Add Key:=Range(
"C5"
), SortOn:=xlSortOnValues, _
Order:=xlDescending, DataOption:=xlSortNormal
With
Lo.Sort
.Header = xlYes
.MatchCase =
False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End
With