I need help writing the code that will search a specific directory and find the latest version of a file and then link to that file (which will either be a .dbf or .xls). Also, I guess I would need to delete the old tables first, which would be linked to the previous version. The naming convention for these files is something like "sales0903" where the "0903' represents the date the file was created (yes, it stinks that the file name changes each week!). I think I have to use the Dir and DoCmd.Transfer commands, but I don't know how to make sure I pull in the latest version. I can hack my way through basic subs but this is beyond my expertise. Thanks!
D
D