All, using Access 2010. I have some vba code to import from a folder a spreadsheet into my database using transferspreadsheet method. Right now the file I am importing is in a folder with no other files. But now; there can be multiple files of the same file with different dates for example:How do I format my code to look at the files in the folder and import the file with the latest date? ThanksCode:2014 07 08 testfile 2014 07 23 testfile 2014 08 20 testfile 2014 09 10 testfile