Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 06-20-2017, 07:58 PM
gmayor's Avatar
gmayor gmayor is offline Automation of a tecnical document with bookmarks Windows 10 Automation of a tecnical document with bookmarks Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,142
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

There are several ways to handle this successfully. You are correct that bookmarks are easily deleted - especially if you edit the document directly, but if you create a VBA userform (your suggestion 2) to collect the data for the first page - see http://www.gmayor.com/Userform.htm - then you can use the FillBM function from my web site to write to the bookmarks in the document, both on the first page and wherever the same data appears elsewhere in the document. This method, and the use of document variables (also shown in the link above) are both practical approaches.

Or you could use mapped and linked content controls which require no VBA programming expertise, but are a little more complicated to insert. They do however have the advantage that whatever you write in one of the linked controls is repeated in the other(s).

To facilitate the insertion and linking of controls see http://www.gmayor.com/BookmarkandVariableEditor.htm and the content control version which appears towards the end of that page.

See also http://gregmaxey.mvps.org/Repeating_Data.htm
__________________
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automation of a tecnical document with bookmarks split word document based on bookmarks with each new document title of the bookmark megatronixs Word VBA 9 09-05-2020 02:29 PM
Automation of a tecnical document with bookmarks Document automation coconutt Word 1 05-02-2012 01:45 PM
Document Automation - Drag and Drop gfeldman Word 2 02-10-2012 06:56 PM
Automation of a tecnical document with bookmarks Update bookmarks and variables in document webharvest Word VBA 5 06-21-2011 03:22 PM
Using bookmarks in a protected document Bill Stemp Word 0 10-16-2010 06:47 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:55 PM.


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