Mailmerge Excel and TXT file & save to variable file names
box top
 
Project Details
Project Category : IT/Web/Programming > Application development

Project ID : 4036

Project Title : Mailmerge Excel and TXT file & save to variable file names

Project Location : Remote

Project Status :
Bid Accepted
Project Description
I have an Excel file which has two columns (Make & Model) and currently 12,500 records (and steadily growing). I wish to "mailmerge" this with a text file (which I could obviously do in MS Word). However, for each unique record processed I need to resulting merged document to be saved and named according to the variables in the records.

For example, The text file (which will ultimately be a web page) may contain:-

We can supply you with a remote control for your [make] [model] for only £100


The [make] and [model] should be populated from the excel file and the resulting document should be saved on the basis of remote-control-[make]-[model].htm (for example remote-control-matsui-1436.htm)

By using a single text file as a template for the web pages that is just populated from the excel spreadsheet, I can amend the design of the page once and just re-run the "merge" to re-create the pages. Any new models records added will be taken care of when the process is re-run.
Project Budget
Project Type : Fixed Price Project

Budget Range : Less than £250

Budget Type :
Fixed Fee
Additional Information
Approx Start Date after bid is selected : Immediate (within 1-2 days)

Attached files : None
Buyer: Derick T
Derick T Buyer History
Posted : 1
Bidding Details
# of bids :6
Bidding ends :Project expired
Project posted :
24/09/2008 04:22 pm

 

box top
box top
Accepted Bid

Bidding is currently closed for this Project as the Buyer has accepted the bid below.

The Buyer can still choose to reopen the bidding prior to the project listing end date.

Details of the accepted bid

Amount: £ 117.50 Fixed Fee

Proposal:
Hi Derick,

While your project could probably be achieved by macros in MS Word and Excel, I gather you require an application which will read the data file for the [make] and [model] and replace the field name in the template file and save according to the naming convention.

As I understand it, your template file will be a plain text file in html format. Would you require some other management of the generated files (eg selection of records beginning with.. or prices less than..) and/or separation into new directories to help control the number of files. (12500 files to populate in one directory may be a bit inconvenient for the human interaction after the event - obviously not for the computer.)

I would propose a bid of £100 plus VAT to create a simple application (to run on MS Windows 2000/XP/Vista) which will:
1) ask for the source file location in csv format - if you give me a default name it can have that prepopulated to look for that name in the current directory where you're running the merge application.
2) ask for the template file in txt (or html) format - if you give me a default name it can have that prepopulated to look for that name in the current directory where you're running the merge application.
3) ask for basic filter information (ie all, or only those beginning with.. or only those in the range A-C etc) - defaulting to "all"
4) ask for the destination directory (defaulting to the directory where the application is being run) and whether to separate the files generated into new directories A through to Z (or other criteria) and create appropriate folders as subfolders from the specified destination directory if appropriate.
5) replace the [make] and [model] fields in the template file and save under a new name according to the convention you specified.
6) Report final total of files created.

That way you can generically apply new or different templates without being locked into only one option.

If you want to have a vbscript api to automate the reading of the MS Excel file and return the data to the application for processing, I can also add this for an additional £50 plus VAT. Given that you have a very basic (two field) data source and MS Excel's ability to save as csv, it seems a bit unnecessary though, but is an option if you require.

Thanks for your consideration of this bid,
Kind regards,
Simon


Estimated Start Date: Within 1 Business Day

box top
box top
Providers who viewed this project also viewed
Website form and database to collect & email reply
Expires: 16d, 13h | #Bids: 26
Design website from template
Expires: 1d, 3h | #Bids: 13
Ecommerce website
Expires: 17d, 12h | #Bids: 19
Flash Developer
Expires: 19h 21m | #Bids: 6
Nightclub / Bar locations required
Expires: 7d, 11h | #Bids: 7
box top
box top
Clarification Board
Providers can use the Clarification Board to ask the Buyer any questions prior to placing a bid. The Buyer can use the Clarification Board to provide clarifications about the project.
To post a message/question you will need to be logged in as either a Provider or the Buyer that has posted this project.
box top
Post New Message

*
 
The Clarification Board should only be used to ask questions about the project if further information is required before placing a bid.
Any messages including contact details (email/phone), company names or messages such as "I can do this" or "Please contact me" are liable to be reported by other users and deleted.
box top
box top

yasantha W
  By yasantha on 24/11/2008 07:15 pm Report This Message
You must have got this job done already. If you require further help, I would be quite delighted to further enhance your requirement.

thanks
Yasantha
 
     
box top
 

Derick T
  By Buyer (Derick T) on 25/09/2008 10:35 am Report This Message
To clarify, I am looking for a program to be written.

This needs to read the text file and excel (which I can put into csv or access if easier) file to populate the text file with the fields from the excel file and then save each page to a new file to be named according to the fields in the xls file.

For example, if the xls file were to contain only 2 records such as "Bush 6690D" and "Matsui 1436" I would like the data to be merged into the text file so that for the first record wherever it said Bush was inserted and likewise for 6690D was inserted, then the file saved as "Remote-Control-Bush-6690D.htm" and then the process repeated for the second record being merged into the text file and saving a file called "Remote-Control-Matsui-1436.htm"

Please note that there are currently 12,500 records and it is slowly increasing.
 
 
     
box top

© 2007-2009 People per Hour. Use of this Web site constitutes acceptance of the People per Hour Terms of Business, Web site Terms of Use and Privacy Statement