Is it possible to clone a TableCollection from an existing Word document?
What I want to do is clone a table collection, modify that table collection (add/delete tables) and then replace the original table collection in the document with the new updated tables collection.
i.e. I don’t want to modify the table collection in the existing document until I have all my changed done.
@chuckmnaspose Sure, you can use Node.Clone method to clone the table. Then you can use use CompositeNode.InsertBefore or CompositeNode.InsertAfter method to insert the modified table before or after the old table.
Thank you for the information. I can see how to Clone a Table, however I do not understand how to clone a TableCollection object.
@chuckmnaspose There is no way to clone TableCollection
object, you should clone table one by one.