Find Jobs
Hire Freelancers

Creating word documents from excel data

$30-250 USD

In Progress
Posted over 13 years ago

$30-250 USD

Paid on delivery
Word documents need to be created from data in excel files using VBA. Sales records are stored in an excel file. Each record has an payment reference XXXX, and the program needs to find all the rows with a given reference number, and produce a word document with the data from the rows with the given reference number. I've attached sample data from the excel file, and an example of the word document that should be generated for reference 9245 (payment reference is stored in column AA 'GP PO' in the excel file). The reference is for a payment to docB, a payment reference is always to one doctor code in column C. In the excel data, each row can contain up to four products,with their rates and quantities (columns I to T). Each product should appear on a seperate line in the word document. A word template file will be provided with the required layout and style. There are two rows with payment reference 9245 (9 and 12). The first row with payment reference 9245 has one product and the second row with the reference has two products, so a total of three lines are produced in the word document. The rate is given in columns I, L, O and R for the four products, and the quantities are given in K, N Q and T respectively. The first product column I is type 'Surgery', second product column L is 'Visits'. If third and fourth products exist, they are type 'Other'. Lookup tables will be provided in another excel file to replace DocB with name+address and SurC,SurB with real name. The Date for each row is obtained from columns D and E (not F - description, as this may not be entered for some records). D and E are Yearweek and Day, for example in row 9 this is 1034 and 3, which means year 2010 week 34, day 3 = Wednesday 25th August. Also the program should have the ability when the user requests to produce several invoices XXXX to XXXX or XXXX,XXXX and XXXX (like when selecting page numbers to print). Each payment file should be saved to a seperate word document named DocX-XXXX.doc. A bonus would be if a pdf file could be automatically be generated using ghostscript of something similar for each document.
Project ID: 802864

About the project

6 proposals
Remote project
Active 14 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
Ready to start now...
$80 USD in 3 days
5.0 (72 reviews)
5.4
5.4
6 freelancers are bidding on average $169 USD for this job
User Avatar
php/mysql/excel professional
$250 USD in 2 days
4.5 (2 reviews)
4.0
4.0
User Avatar
>>> Please see my PM <<<
$200 USD in 3 days
5.0 (2 reviews)
3.3
3.3
User Avatar
Please check your PM
$210 USD in 5 days
5.0 (3 reviews)
3.2
3.2
User Avatar
This would be easier if using MS Word Object Model combined with MS Excel Object Model. So, the VBA code will invoke those two libraries for accessing Excel Worksheet content, and applied onto MS Word Document. For PDF Generation I recommend to use PDFForge. It has an activex control which can be accessed from VBA code.
$175 USD in 1 day
4.9 (5 reviews)
2.6
2.6
User Avatar
Hello, i can create the VBA code for you as you wish.
$100 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Manchester, United Kingdom
5.0
2
Payment method verified
Member since Sep 22, 2010

Client Verification

Other jobs from this client

Find seats on airline website
$10-30 USD
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.