View Single Post
 
Old 12-08-2016, 02:34 AM
cuttlefishjones cuttlefishjones is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Dec 2016
Posts: 4
cuttlefishjones is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
From your description, it's possible a mailmerge would be the way to go, but it's unclear whether the CSV file has headers that repeat every 20 rows and whether you just want the output to all go into the same place in the document (i.e. a new table every 20 rows, one after the other) or whether you want to create replicas of the document with the same content, except for the table data, every 20 rows.
Thanks for the reply!

I'll try and clarify it a bit:

The CSV is ten columns the first row being the header. The rest of the rows are data (mostly text).

Code:
(headerA)   (headerB)   ...
(datax1)     (datay1)     ...
(datax2)     (datay2)     ...
In Word I want a table (1x20) to represent each row, each odd cell being a header and even cell the data from the corresponding cell in the CSV row.

Code:
(TABLE1)
(headerA)
(datax1)
(headerB)
(datay1)
...
(EOF TABLE1)
(TABLE2)
(headerA)
(datax2)
(headerB)
(datay2)
...
(EOF TABLE2)
And then for each row in the CSV I want a new table to be created in the same format.
Reply With Quote