Hi,
I am looking for a code to import multiple csv files into a master workbook. But before importing them, it will need to apply filters on some of the fields and then copy over matched data. Each csv file have their own criteria to be applied to and then copied over.
Can you please advise on a code to import these files in below order:
-Selecting target csv files with their names, so it would say "Please select ...(File name)..."
-When target file is selected, apply filter 1 to csv 1 and filter 2 to csv 2 and so on
-Copy only matched data from filter (for ex csv 1 need a criteria in field 2, csv 4 need a criteria in field 6)
-close all imported csv file except master workbook.
One last thing please, how to apply multiple criteria for a single field?
Hopefully my request make sense, and please let me know if you require any more info.
Many thanks in advanced
I am looking for a code to import multiple csv files into a master workbook. But before importing them, it will need to apply filters on some of the fields and then copy over matched data. Each csv file have their own criteria to be applied to and then copied over.
Can you please advise on a code to import these files in below order:
-Selecting target csv files with their names, so it would say "Please select ...(File name)..."
-When target file is selected, apply filter 1 to csv 1 and filter 2 to csv 2 and so on
-Copy only matched data from filter (for ex csv 1 need a criteria in field 2, csv 4 need a criteria in field 6)
-close all imported csv file except master workbook.
One last thing please, how to apply multiple criteria for a single field?
Hopefully my request make sense, and please let me know if you require any more info.
Many thanks in advanced