Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-15-2015, 08:35 PM
caitlin caitlin is offline Trying to refer to a placeholder several times throughout a document Windows 10 Trying to refer to a placeholder several times throughout a document Office 2010 64bit
Novice
Trying to refer to a placeholder several times throughout a document
 
Join Date: Nov 2015
Posts: 1
caitlin is on a distinguished road
Default Trying to refer to a placeholder several times throughout a document

I am creating a template in word where the name of a region and its corresponding state are mentioned several times throughout the document. I have create a placeholder for both these labels that can be updated each time the template is used, however I'm trying to use the placeholders to populate the other parts of the document that refer to the region or state name.



I know the excel equivalent would be =[cell_reference], however I'm not sure how to do this in word.

Is anyone able to advise how this would be done? I was told I can use a bookmark, but I've tried this and it's not working for me.

Thanks in advance!

Last edited by Charles Kenyon; 11-16-2015 at 08:15 AM. Reason: Mark as solved
Reply With Quote
  #2  
Old 11-15-2015, 09:46 PM
gmayor's Avatar
gmayor gmayor is offline Trying to refer to a placeholder several times throughout a document Windows 7 64bit Trying to refer to a placeholder several times throughout a document Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,103
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 of
Default

What you are looking for is the Cross Reference field { REF BookmarkName } which reproduces the content of a bookmark. Note that REF fields don't update automatically so allow for this in the macro that writes to the bookmark.
e.g. Call the example code at http://www.gmayor.com/installing_macro.htm

As for writing to bookmarks, see the FillBM function at http://www.gmayor.com/useful_vba_functions.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
  #3  
Old 11-16-2015, 04:29 AM
gmaxey gmaxey is offline Trying to refer to a placeholder several times throughout a document Windows 7 32bit Trying to refer to a placeholder several times throughout a document Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,429
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
Default

Cross reference is one way and will work in any Word version. If you and your users are upgraded to Word 2007 or above then mapped content controls could be an option. http://gregmaxey.com/word_tip_pages/..._controls.html

My Content Control Tools that you can download from that link makes using mapped CCs simple.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
Reply

Tags
bookmark, placeholder, reference placeholder



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using 3 different fields, several times in same document but not en mass - should I use mail merge? shoughton Mail Merge 1 06-24-2015 02:46 PM
Trying to refer to a placeholder several times throughout a document Mail merge placeholder placement in document Old Dude Mail Merge 3 12-11-2014 07:30 PM
Trying to refer to a placeholder several times throughout a document SlideMaster: Date Placeholder, Footer Placeholder, Slide Number Placeholder? tinfanide PowerPoint 1 04-05-2013 10:37 AM
How do I refer to page numbers, when the numbers change as I prepare the document? StevenD Word 5 11-29-2012 12:52 AM
Copy the contents of a dcoument and paste it several times in a new document Gerjanst Word VBA 0 06-30-2010 12:51 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:13 AM.


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