How to use content controls to populate text throughout the same document?
Hello,
I have uploaded a document which explains with pictures what am I am doing, however I will paste the text in this message just in case anyone does not feel comfortable downloading and opening a random word file from the internet.
Forename: Jane
Surname: DOE
As you can see above, this is a simple table and in the second column are two Plain Text Content Controls.
The first Plain Text Content Control has the following properties:
I do not want the box to be able to be deleted, although this document will NOT be restricted.
I have created a new style with the same name as the Plain Text Content Control tag called ‘forename’. This style has not been edited anyway and only the styles name has been changed.
This setup for the surname Plain Text Content Control is exactly the same, except for the tag name and style name, which is ‘surname’.
The documents that I will be creating will have numerous references to the Plain Text Content Controls I have previously mentioned and there may well be a lot more in the future. I’m not well versed on Microsoft Word and have only found this ‘way’ of doing things in approximately a day or two, so I am checking that I am doing this the right way to prevent issues further down the line.
To reference the text inside the Plain Text Content Control, I am using STYLEREF like so: { STYLEREF forename } which when wrapped properly, shows the forename as Jane
Surely, there has to be an easier way without using VBA, Macro’s, just a simple solution to link text to each other so that it automatically updates in the body, header and footer without doing any sort of dodgy hacks?
Thanks for reading.
|