Find Jobs
Hire Freelancers

Split .txt file into multiple files by lines

$10-15 USD

In Progress
Posted almost 15 years ago

$10-15 USD

Paid on delivery
I need a macro or executable that can take a plain text file, "split" it into multiple files, one file per line, and place these files into a folder selected by the user. ## Deliverables Attached you will find an example of the type of file that will be used as input. The sample file is a .csv, as most of the input files will be, but don't let that fool you...it's plain text and should be treated as if it were a .txt file. When the program is run, it should first prompt the user for the location of the input file via a dialog box. (If you do this as a VBA macro, you can skip this step, as the user will already have the file open in Excel 2007.) It should then prompt for a folder path (again via dialog box), filename prefix, and file extension. Then, it should split the file into multiple files, one per line. Each file should consist of the text from that line, *and one carriage return. *It should save these files to the folder selected by the user. For the file names, it should use the user-entered filename prefix, an incremented integer, and the user-ented extension. So, a sample run might go like this. I run the program on the attached Sample.csv. I enter the following information: **Folder Path:** C:\TestRun **Filename Prefix:** Sample **File extension:** txt The program will then split the file into multiple files, and save them to C:\TestRun as [login to view URL], [login to view URL], [login to view URL], and so on. [login to view URL] would contain all the text on the first line of the input file, followed by a carriage return. [login to view URL] would contain all the text on the second line and a carriage return, and so on. Should be simple enough. Let me know if you have any questions. Thanks!
Project ID: 2832039

About the project

5 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$12 USD in 1 day
5.0 (86 reviews)
5.2
5.2
5 freelancers are bidding on average $11 USD for this job
User Avatar
See private message.
$8.50 USD in 1 day
5.0 (82 reviews)
5.5
5.5
User Avatar
See private message.
$12.75 USD in 1 day
5.0 (21 reviews)
5.5
5.5
User Avatar
See private message.
$12.75 USD in 1 day
4.6 (130 reviews)
5.5
5.5
User Avatar
See private message.
$7.65 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Roanoke, United States
5.0
78
Payment method verified
Member since Nov 28, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.