Quote:
Originally Posted by gmayor
I simply made some minor changes to your code so that it would eliminate all those bookmarked paragraphs and moved it to the calling macro.
The only bookmarks in the created document are those of the inserted texts. Instead of writing to bookmarks the texts are written consecutively.
The template creates new forms, and are filled with the bookmarked sections. When you click the edit button the form is re-opened with the previous selections checked by reference to the bookmark names. The content is then cleared so that any changes made to the userform are reflected in the edited document. You shouldn't lose anything as it is all re-entered according to what is checked when you click the OK button.
|
Thanks for that. We make changes to the document by typing into the activedocument once the userform has populated it. So those changes will be lost if we then reopen the userform and add additional sections in, because it repopulates the whole document, thus deleting all typed entries into the document.
Is there a way to overcome this?