Hi,
I am receiving some scheduled emails with attached csv files. Currently I have a macro that saves the attached files to a specific folder, and then I manually open each csv, copy the new data and append it to the end of my database.csv file.
Is it possible to have an outlook macor that:
1- Save the attached imcoming.csv file.*
2- Open the incoming.csv
3- Copy the data from incoming.csv**
4- Open the database.csv
5- Append*** the copied range from incoming.csv to the end of database.csv
6- save files
6- Close csv files.
*I already have a code to download and save the attached part. The rest of the code is what I am missing.
**The incomin.csv file has headers and data row number is dynamic. I do not know how many row it has when arrived.
***the new data should be added to the end of my database.csv file. The database.csv keeps groving.
I would appreciate any help to achive this.
Thank you.
/deniz
I am receiving some scheduled emails with attached csv files. Currently I have a macro that saves the attached files to a specific folder, and then I manually open each csv, copy the new data and append it to the end of my database.csv file.
Is it possible to have an outlook macor that:
1- Save the attached imcoming.csv file.*
2- Open the incoming.csv
3- Copy the data from incoming.csv**
4- Open the database.csv
5- Append*** the copied range from incoming.csv to the end of database.csv
6- save files
6- Close csv files.
*I already have a code to download and save the attached part. The rest of the code is what I am missing.
**The incomin.csv file has headers and data row number is dynamic. I do not know how many row it has when arrived.
***the new data should be added to the end of my database.csv file. The database.csv keeps groving.
I would appreciate any help to achive this.
Thank you.
/deniz