Dynamic row count in Word table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LegalIT
    New Member
    • Feb 2008
    • 15

    #1

    Dynamic row count in Word table

    Hello,

    I am creating a Word table using a VB.net application. I have it working with the following declaration:

    Dim table As Word.Table = myRange.Tables. Add(myRange, intRowCount, 5)

    I always want the table to have 5 columns. I would like the number of rows to be dynamic, or at least be able to add rows on the fly.

    Is there an easy way to use a Word table with a dynamic number of rows?

    Thanks!
    LegalIT
Working...