Hello,
I am trying to set up the following automated process triggered by a button in a Form:
1) Let me select a folder where multiple excel files (xls) are located
2) For each file, select specific cells (hard-coded in the VBA) to create a single record that will be added to a single Access table (each file adds a new record to the same Access table)
3) Copy all files to a subfolder named with the current date (format: YYYY-MM-DD) of the folder I originally selected
4) Add a "-x" to the end of the filenames (i.e. File "myfile.xls" becomes "myfile-x.xls)
I have a macro in Excel that does this, but I can't get it to work as Access-triggered code.
Any help is greatly appreciated.
Thanks!
I am trying to set up the following automated process triggered by a button in a Form:
1) Let me select a folder where multiple excel files (xls) are located
2) For each file, select specific cells (hard-coded in the VBA) to create a single record that will be added to a single Access table (each file adds a new record to the same Access table)
3) Copy all files to a subfolder named with the current date (format: YYYY-MM-DD) of the folder I originally selected
4) Add a "-x" to the end of the filenames (i.e. File "myfile.xls" becomes "myfile-x.xls)
I have a macro in Excel that does this, but I can't get it to work as Access-triggered code.
Any help is greatly appreciated.
Thanks!