If you are going to edit the inserted texts after they have been inserted and then use the process (or any process for that matter) to add or remove the inserted texts, you are creating a whole new bag of worms and it becomes a major programming exercise which is way beyond the assistance I am willing to provide via this forum.
Without knowing what is in the texts and what you are likely to want to change it is impossible to advise how to handle it.
If the texts contain editable sections using uniquely named content controls, then it should be possible to record not only the bookmarks inserted, but the values of those content controls, and re-apply the stored values to the named controls when the document is rebuilt. Otherwise you are going to have to compare what you had with what you want and work out a way to insert any additional texts in the correct places.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|