joeythelips
IS-IT--Management
Hi,
I import an excel file into access every day using vba.
My problem is that this file has a different name every day and rather than renaming the file, i was wondering if vba could automatically do this for me.
A colleague told me that i could save the file in a directory, then, after it is processed, have VBA move it to a new directory. Then it does not matter what the name is, just have VBA process each file in the directory.
Unfortunately he isn't sure how to do this so if anyone had some code for me i'd be very grateful.
Thanks for your help.
I import an excel file into access every day using vba.
My problem is that this file has a different name every day and rather than renaming the file, i was wondering if vba could automatically do this for me.
A colleague told me that i could save the file in a directory, then, after it is processed, have VBA move it to a new directory. Then it does not matter what the name is, just have VBA process each file in the directory.
Unfortunately he isn't sure how to do this so if anyone had some code for me i'd be very grateful.
Thanks for your help.