Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-15-2018, 08:12 PM
gmayor's Avatar
gmayor gmayor is offline Help with Inserting External Information into Document Consecutively Windows 10 Help with Inserting External Information into Document Consecutively Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,143
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #2  
Old 10-15-2018, 08:37 PM
kateabode kateabode is offline Help with Inserting External Information into Document Consecutively Windows 7 64bit Help with Inserting External Information into Document Consecutively Office 2016
Novice
Help with Inserting External Information into Document Consecutively
 
Join Date: Sep 2018
Posts: 16
kateabode is on a distinguished road
Default

Quote:
Originally Posted by gmayor View Post
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?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Inserting External Information into Document Consecutively number every second page consecutively acrimin Word 10 10-02-2024 04:18 AM
Help with Inserting External Information into Document Consecutively Number every other page consecutively fredhinke Word 1 11-11-2016 01:30 PM
Help with Inserting External Information into Document Consecutively Import external font to Word document Patrick_87 Word 3 07-17-2015 01:04 AM
how to put three videos in PowerPoint 2013 and have them play consecutively historyb PowerPoint 0 10-16-2014 11:42 AM
Help with Inserting External Information into Document Consecutively Automatically inserting information into report joughin Word 3 05-15-2012 09:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft