View Single Post
 
Old 07-31-2014, 07:39 AM
AaaTeX AaaTeX is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Jul 2014
Posts: 8
AaaTeX is on a distinguished road
Default Using VB.Net 2010 I cannot duplicate tables in the correct place

I am working on a VB.Net 2010 program using the Interop class.

We are having problems trying to duplicate a table more than 1 time to be put in the place we want.

It is either merging it with the original table in the Word Doc or putting it into the next table.

Is there a clean explanation on how a table can be duplicated 2-3 times?

We are currently using functions as:
WordApp.Selection.InsertAfter(MySepStr) ' not then it appends to the DevTable
WordApp.Selection.MoveDown() ' Move down needed if not appends to origina table
WordApp.Selection.Paste()
' Manual paste works without the move down this does not. It puts it in the next table
Reply With Quote