Inside the inner For loop, can you check if .FoundFiles(lCount) = "Obstacles.xls" and act accordingly? You might also have to adjust the loop so it runs backwards.
Inside the inner For loop, can you check if .FoundFiles(lCount) = "Obstacles.xls" and act accordingly? You might also have to adjust the loop so it runs backwards.
Regards,
JP
Read the FAQ
Getting free help on the web
My website
Please use [vba][/vba] tags when posting code