File Creation Automation

New Contributor



I am on a Windows 10 computer and Microsoft Excel 2008. I have a file with 1,000 categories in column A. I would like to create a new Excel file for each of the categories in Column A and name the files after the category. Is there a way to automate that so I don't have to do it manually? Thanks 

4 Replies



There may be a way to do what you're asking via a macro or VBA routine. I don't use those much at all, so I'll let somebody else address that part of what you're asking.


If you don't mind a different question, though, may I ask before you succeed in doing what you're asking, "WHY?" Why are you wanting to create 1,000 different Excel files, one for each sub-category (or category) of whatever it is that clearly must have something in common in order to be in a single column to begin with?


1,000 separate sheets are going to be quite unwieldy. A single database can have thousands of rows and tens or hundreds of columns, and be very navigable, very useful.


You may have an entirely valid reason, a good purpose in mind...maybe the 1,000 spreadsheets are going to be farmed out to 1,000 different people to manage. But I'd sure want to know you're not just creating a major headache for yourself. And it's a question I'd ask if we were sitting down face-to-face; so I hope you don't mind my asking in this forum,



Hi there thanks for asking. So essentially it has to do with billing purposes. The categories need to go to different organizations. 


I should have mentioned there is some data within each category that will be need to sent over as well. 

Well, so far you've not convinced me that you need 1,000 separate spreadsheets to be created. You haven't described fully enough the big picture, but if it's a matter of billing 1,000 different clients (or some such) that too can be done from a single database, with itemization based on the distinctive "data within each category."

To be possibly very simplistic--and therefore possibly way off-base--I can even envision using MailMerge to create billing statements. But that's getting ahead and may or may not be the right move.

Is it in any way possible for you to post here a copy of (or a greatly reduced mockup of) your starting sheet, giving me (and others here with their unique perspectives) a first-hand look at the data you are talking about. And if you could supplement that with a more complete description of the bigger 'business process" into which your original question fits that too would help us all.
There is a better solution as opposed to creating 1000 files. Can you completely elaborate on the scenario please?