title: Auto creating tables in Word from an Excel document
body: <p>I have a set of data in Excel which is like the below (in CSV format)</p>
  
  <pre><code>heading1, heading2, heading3, index
  A , randomdata1, randomdata2, 1
  A , randomdata1, randomdata2, 2
  A , randomdata1, randomdata2, 3
  B , randomdata1, randomdata2, 4
  C , randomdata1, randomdata2, 5
  </code></pre>
  
  <p>I want to be able to auto build a word document that presents this data, which the information grouped by heading1, into separate tables. So the word document would be like</p>
  
  <pre><code>Table A
  heading1, heading2, heading3, index
  A , randomdata1, randomdata2, 1
  A , randomdata1, randomdata2, 2
  A , randomdata1, randomdata2, 3
  
  Table B 
  heading1, heading2, heading3, index
  B , randomdata1, randomdata2, 4
  
  Table C 
  heading1, heading2, heading3, index
  C , randomdata1, randomdata2, 5
  </code></pre>
  
  <p>Please could someone help me with this as it will save about 20 hours of very boring copy &amp; pasting and formatting!</p>
  
  <p>Thanks for any help</p>