Automating Word: Assigning a Range of Cells to a Range Object
Posted on 2011-09-26
I should know this. I even feel like I've asked before, but can't find it my previous questions.
I have a Word table I created through VB.Net. The table is 10 columns by 20 rows. I need to modify the first six columns of the first three rows.
To that end, I'm hoping to do something like this:
(Note: Even though it looks like Excel, it's a Word table)
Dim oRange As Object = oTable.Cells("A1", "F3")
Obvoiusly that doesn't work or I wouldn't be posting here.
How do I do this?