I have two separate pieces of a puzzle that I would like to tie together. We have a customer that FTPs drop-ship orders in text format. These orders are then moved using a VB script (thanks to Mark) from the FTP server to another location. A user then opens an Excel template that contains a macro to import the text file, format it, then email it to another person.
Here is what I would like to happen.
1) File arrives at FTP server and is moved via the VB script.
2) When and if a file is moved, another script will open Excel, run the import macro, save the file to xxxx.xls, where xxxx is the same filename as the original txt file.
Right now these orders only arrive once a day. The customer would like to start sending orders as soon as they are received. Getting this automated would eliminate the middle-man step of running the macro manually multiple times a day.
Any and all advice is apreciated.
Here is what I would like to happen.
1) File arrives at FTP server and is moved via the VB script.
2) When and if a file is moved, another script will open Excel, run the import macro, save the file to xxxx.xls, where xxxx is the same filename as the original txt file.
Right now these orders only arrive once a day. The customer would like to start sending orders as soon as they are received. Getting this automated would eliminate the middle-man step of running the macro manually multiple times a day.
Any and all advice is apreciated.