OM2
06-05-2014, 06:41 PM
I have a CSV files with 20 records (this number can vary)
I want a Word document that uses a single page template and fills in data read in from the CSV file - and results in 20 pages being created from the single template
The only thing is that the data in the CSV file needs to be re-ordered and some logic applied
Would it be a good idea to do this is VBA?
I could get this done somewhere else - like write a standalone program that does this for me (I;d do this if it wasn't quick doing within VBA and Word)
Question: let's assume my CSV file doesn't need reordering and the data needs to simply be read in, is doing a mail merge the best way to create 20 pages? If so, what is the best format for the file? Is it CSV? Or something else like XML?
Thanks
OM
I want a Word document that uses a single page template and fills in data read in from the CSV file - and results in 20 pages being created from the single template
The only thing is that the data in the CSV file needs to be re-ordered and some logic applied
Would it be a good idea to do this is VBA?
I could get this done somewhere else - like write a standalone program that does this for me (I;d do this if it wasn't quick doing within VBA and Word)
Question: let's assume my CSV file doesn't need reordering and the data needs to simply be read in, is doing a mail merge the best way to create 20 pages? If so, what is the best format for the file? Is it CSV? Or something else like XML?
Thanks
OM