Hi!
I can't find a solution, so I hope to get some help on this.
I have a VB.NET application, where I create a report using a Word template, that I fill out programmatically.
While I was using early binding, everything worked fine, but now I have to switch to late binding, so the application can be used with different office versions.
Currently I get this error:
on this code:'Range' is not a by reference property.How can I place the table at a specific bookmark position in the word template using late binding in my application?Code:oTable = oDoc.Tables.Add(oDoc.Bookmarks.Item("myTableBookmark").Range, rCount + 2, colCount)




Reply With Quote