View Single Post
 
Old 07-31-2019, 03:36 PM
Guessed's Avatar
Guessed Guessed is online now Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,967
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You can also do this without a macro by using linked Content Controls.

Firstly add a ComboBox Content Control and add entries with names and values corresponding to your pairs eg Name=Unites States, Value=US etc
Select the Content Control and then show the XML Mapping pane, right click one of the available elements and 'Map to Selected Content Control'
Then move your cursor somewhere else in the document and then on the same XML Mapping pane, right click on the same element and choose Insert Content Control > Plain Text
Test it by changing the value of the ComboBox CC
You can then copy and paste the plain text CC to the other locations.

See the attached doc for this example in action
Attached Files
File Type: docx Choose an item.docx (51.1 KB, 15 views)
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia

Last edited by Guessed; 07-31-2019 at 03:38 PM. Reason: Added Attachment
Reply With Quote