Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 09-16-2021, 07:02 AM
Guessed's Avatar
Guessed Guessed is offline Help required to create Bounding Boxes in Word Document please - repeating data entered in one spot Windows 10 Help required to create Bounding Boxes in Word Document please - repeating data entered in one spot Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
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

None of those CCs are mapped. You also don't have a custom xml file in the document to map them to.

Start by creating an xml (text) file in Notepad with contents like this. Save it to your desktop and include any other element names you need in your real document.
Code:
<?xml version="1.0" encoding="utf-8"?>
<Root xmlns="http://txacoli.test">
    <StaffMember />
    <StaffNumber />
    <WorkingArea />
    <DateOfBirth />
</Root>
Then open your Word document and embed that xml file in the document by going to Developer Tab > XML Mapping Pane. Click on the custom xml part dropdown in the pane to ‘Add a new part’ and navigate to the xml file to load it inside this document.

Next you map the xml elements to each of the Content Controls on the page. Select a Content Control, then in the XML Mapping Pane, while showing that particular xml part, right click on the relevant field and choose to 'Map to Selected Content Control'

Then you can change one of your instances and as your cursor leaves the CC, the other ones linked to the same xml field will update instantly.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 

Tags
bounding box, content controls



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help required to create Bounding Boxes in Word Document please - repeating data entered in one spot Auto Create/Format a Word Document based on Check Boxes shanerolle Word VBA 21 05-13-2020 10:42 AM
Help required to create Bounding Boxes in Word Document please - repeating data entered in one spot Calculate week in Word document based on date entered into same document ArviLaanemets Word VBA 4 11-18-2019 12:25 AM
Help required to create Bounding Boxes in Word Document please - repeating data entered in one spot Bounding Boxes BarnabyS Word 7 05-22-2019 06:12 AM
Move cursor up several lines after form data entered in document zanestein Word VBA 6 05-23-2018 04:01 AM
Help required to create Bounding Boxes in Word Document please - repeating data entered in one spot Repeating Data in a Document sumblnddude Word 5 11-24-2017 08:01 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:32 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