I have multiple tables in a word template and need to change each of it in an other way. Also it is possible that one or the other will be deleted or inserted so I can’t say I take the 5th and that’s always the same one.
The identification has to be saved so I can’t use the .ID value.
What way is there to identify a specific table with VSTO? Preferable one which can also be set in the document without VSTO.
I found a way to do it:
Mark the table in word and add a bookmark to it. You have to choose a unique name so you can also identify the table. The identification can be done with a method like the following: