We require vb code to go through an excel spreadsheet and create a word document based on a template.
Operation to be as follows - this can be changed to be easier to code, but shouldn't be overly complex:
User opens word document, is prompted for Excel spreadsheet.
User browses to file and selects
System performs a quick check that file is correct (checks cells A1 and A2 to have correct field names and that A2 has data) then proceeds to populate template with data.
If user saves file, system should perform a save-as to avoid overwriting application/template
The process of creating the word document from the excel sheet is as follows-
Header:
Put cell O2 in location. This is only in the word docuement once, all rows are be identical
Put cell p2 in location This is only in the word docuement once, all rows are be identical
For each row:
Reformat date (column A) from Apr 21/2009 to Apr 21 2009
Put Column B in location
Put column E in location
Put column H in location - format to #,##0.00
Put extra row between each
Total line:
will be the sum of all the items
Minor changes to template should be able to be made without affecting operation. Need the ability to change font, layout slightly - so need the ability to open the file, cancel out of the macro, make changes and save file.
Attached is a word template and sample excel data
Greetings sir, i am an expert freelancer. for this job and your 100% satisfaction is assured if you allow me to serve, for more info please cheek your message box for this project(Private)
Hello
Me an Ms-Excel Expert working on MS-Excel & VBA for the past 12 years. I am ready to do your work and could start right now. I have already done a no. of successful Excel Projects and can provide u sample copies if you so desire. U can expect quality work in time.
Thanks
A warm greeting, I have skills in the following languages c, c++, c#, java, vb, aspx, php, lisp, python. I am an expert in the development of platforms and desktop.