Create Multiple New Excel Files From Excel List

JADownie

Active Member
Joined
Dec 11, 2007
Messages
395
Hello -

I have a file which lists out 305 unique client ids starting in Row 1. For each of these ids, I need to create a new excel workbook with and save it to a location with the name of the id value in column A. I really don't want to have to manually create 305 files now, so I was hoping maybe someone had a macro or shortcut that they could suggest for me here? I just want to save each new file to My Documents now - C:\Documents and Settings\AA.BB\My Documents\Final Files

Thanks in advance for any helps and tips here today!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
try

Code:
Sub a()

For i = 1 To 305

ActiveWorkbook.SaveAs Filename:="C:\Documents and Settings\AA.BB\My Documents\Final Files\" & Range("a" & i).Value

Next i

End Sub
 
Upvote 0

Forum statistics

Threads
1,223,791
Messages
6,174,603
Members
452,574
Latest member
hang_and_bang

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