PublicSub test() Dim myShell AsObject Dim Datei AsObject Dim objFolder AsObject Dim objFileDialog As FileDialog Set objFileDialog = Application.FileDialog(msoFileDialogFolderPicker) With objFileDialog If .Show = -1 Then Set myShell = CreateObject("Shell.Application") Set objFolder = myShell.Namespace(.SelectedItems(1)) For Each Datei In objFolder.Items IfNot Datei.isfolder Then If objFolder.GetDetailsOf(Datei, 20) <> "" Then MsgBox Datei & vbCrLf & objFolder.GetDetailsOf(Datei, 20) EndIf EndIf Next EndIf EndWith EndSub
ransi
Anzeige
AW: GetDetailsOf(Datei, 20)
08.02.2011 08:01:42
Mike
Guten Morgen Ransi,
cool!!!
Vielen Dank!
Gruß
Mike