I am using C# to make a simple Windows app using Novacode to manipulate a Word document.
I have a source table in my Word document that I want to clone. I am able to find the source table okay using this code:
Table sourceTable = document.Tables[3];
I can see by the rows and columns that this is in fact the table that I want to clone.
I have a string in my Word doc that right after it I want to insert my cloned source table. In fact, I may need to insert it more than once.
I don't know how to find my string, the index of it, and then insert the one or more cloned tables at that index.
Thanks.