Set fso = CreateObject("Scripting.FileSystemObject")
set f= fso.GetFolder("D:\Bruno\")
Set fc = f.Files
For Each f1 in fc
if eerste="" then
eerste= f1.name
end if
...
next
Set fso = CreateObject("Scripting.FileSystemObject")
set f= fso.GetFolder("D:\Bruno\")
Set fc = f.Files
For Each f1 in fc
if eerste="" then
eerste= f1.name
Exit For
end if
...
next