Help Please. I need a macro to open a templete, paste data from another file and then save the file - 'Save as' and name the file as per the data in two adjacent cells. Will need 2000 such files and hence a Macro is the best option. I have written & used macros in the past so am quite familiar with it:
Here is the sample format. Let us assume:
a) Template.xls has Staff Number, Name and City in the first 3 rows and next to it I have to paste the values.
b) Data.xls has the values of all staff. The column headings are Staff Number, Name and City running to 2000 rows.
c) Once the data is pasted, I want to save the excel file as the value in the2 cells in the template.xls file, Staff Number and City.
This needs to be looping until all 2000 rows data has been saved into 2000 separate files using the same template.xls as the base file.
Thanks in advance
Here is the sample format. Let us assume:
a) Template.xls has Staff Number, Name and City in the first 3 rows and next to it I have to paste the values.
b) Data.xls has the values of all staff. The column headings are Staff Number, Name and City running to 2000 rows.
c) Once the data is pasted, I want to save the excel file as the value in the2 cells in the template.xls file, Staff Number and City.
This needs to be looping until all 2000 rows data has been saved into 2000 separate files using the same template.xls as the base file.
Thanks in advance