Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27355

Add list to Word template with table :)

$
0
0
Hey Guys,

My current goal is to take a list that I have and simply populate a table I have in a word template.

The only question I have is how do I take a hold of the table?

Once I declare

Code:

Dim oTable As Word.Table
and I know that I can add stuff to the table using

Code:

oTable.Cell(r, c).Range.Text = x
How do I set oTable to the table in my template? I cant seem to find anything, only how to create and then add but not add to existing.


Thanks

Viewing all articles
Browse latest Browse all 27355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>