PC Review


Reply
Thread Tools Rate Thread

Excel 2010 - Splitting files in folder

 
 
New Member
Join Date: Jul 2012
Posts: 22
 
      29th Aug 2012
I have several txt files in a folder, say FileA.txt, FileB.txt, etc.

They exceed 1 million rows so I would like to split them, create FileA_1.txt, FileA_2.txt, etc. FileB_1.txt, FileB_2.txt, etc. and store them newly created files in a different location to the original files.

Does anybody have any code to do this?

Thanks
 
Reply With Quote
 
 
 
 
Excel Formulator
alow's Avatar
Join Date: Mar 2012
Location: US
Posts: 674
 
      29th Aug 2012
There is a free utility described and linked to here that looks like it will do what you need.

 
 
Reply With Quote
 
 
 
 
New Member
Join Date: Jul 2012
Posts: 22
 
      30th Aug 2012
Thanks but that utility only does a single file at a time with the user having to input each one.

I have managed to write my own VBA subroutine for this.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import Excel 2010 table into Access 2010 - not listed as range rob11marmion@gmail.com Microsoft Access External Data 1 17th Feb 2013 11:04 PM
Excel 2010 Table not showing in Access 2010 Import List rob11marmion@gmail.com Microsoft Excel Discussion 0 21st Dec 2012 06:22 AM
Form 4 Range of time from 1/20/2010 4:00 AM To 1/21/2010 10:00 AM Peter Gonzalez Microsoft Excel Worksheet Functions 2 26th Jan 2010 07:58 PM
Can't open workbook in excel 64 bit 2010 - but can in excel 2010 3 Darrell Microsoft Excel Programming 5 12th Jan 2010 10:03 PM
Office 2010 & Outlook 2010 and Business Contact Manager AvrahamC Microsoft Outlook BCM 0 4th Jan 2010 02:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:27 AM.