Hi All,
Would like to seek your help on creating a Macro that will search for the filename listed under column A and copy values from that file (under Column C) to a new excel sheet as named under Column B.
Example:
These columns are under Index Workbook. All of the files under Column A are saved on one folder in desktop. So if the file opened from the folder is named as BOM Gen A English.csv or BOM Gen B English.csv, it copies the data on those sheets under Column C to a new workbook named as BOM Res1 English.xls and then adds the values of the column information pasted.
Column A Column B
BOM Gen A English.csv BOM Res1 English.xls
BOM Gen B English.csv BOM Res1 English.xls
BOM Gen A French.csv BOM Res1 French.xls
BOM Gen B French.csv BOM Res1 French.xls
CAN TA A Chinese.csv CAN TA Chinese.xls
CAN TA B Chinese.csv CAN TA Chinese.xls
I have attached the sample files needed.
Would really appreciate your help on this.
Thanks so much in advance, excel vba macro Gods.
Cheers,
Anata
Bookmarks