title: vb.net create word table and align rows and text
body: <p>I am using this code to create a table in a word document:</p>
  
  <pre><code>'create the table
  oDoc_detail_table = oDoc_detail.Tables.Add(oDoc_detail.Bookmarks.Item("\endofdoc").Range, 1, 6)
  'align the table in the center
  oDoc_detail_table.Rows.Alignment = word.WdRowAlignment.wdAlignRowCenter
  'set styles
  oDoc_detail_table.Range.Font.Name = "Calibri"
  oDoc_detail_table.Range.Font.Size = 8
  'set width for columns
  oDoc_detail_table.Cell(1, 1).Width = 80
  oDoc_detail_table.Cell(1, 2).Width = 30
  oDoc_detail_table.Cell(1, 3).Width = 330
  oDoc_detail_table.Cell(1, 4).Width = 60
  oDoc_detail_table.Cell(1, 5).Width = 60
  oDoc_detail_table.Cell(1, 6).Width = 40
  </code></pre>
  
  <p>and i want to be able to set the height of ALL rows in the table (i am adding rows dynamically in my code)</p>
  
  <p>also, i want the vertical alignment to be in the centre.</p>
  
  <p>how can i do this in the code?</p>