Macro problems/ help. copying data from a list to another sheet and saving sheet with new name and looping back to next one on list

BARRY1976

Board Regular
Joined
Mar 2, 2010
Messages
51
Hi
I hope my header gives sufficient data . I have an excel sheet which has a list of data on which each row gives particular data i want to copy into a blank template, save as a new named file based on some of ththe data carried over and then reopen blank template again and continue to next in list until there is no data left, the various steps i believe are
1. Open template.xls from c:\
2. go to list.xls
3. go to sheet 1 . Select first line / row of range a1:k20. Copy
4. Paste into Template.xls sheet1. range(a1)
5. Saveas file . filename ("a1") & ("c1") & "text". xls
6. close
7 go back to list.xls
start 1 again select next loop til end

I realise this isn't written in vba code , but if someone could guide me to a sub that would work in this that would be great.
thanks again for any help on this
Best regards
Barry
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top