Create Word Template with repeating text

I want to create a Word template which has a field at the top called CompanyName. I then want it to automatically update the document in multiple places elsewhere. I'm missing how to do this. Can anyone help?

Example Document:

Agreement between [CompanyName] and [Individual]

For the purpose of this agreement, [CompanyName] shall hold [Individual] liable for all fees incurred by [CompanyName] etc...
LVL 22
Russ SuterAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


You can bookmark your field and use the REF field to repeat it

see example

Paul SauvéRetiredCommented:
Here is an extensive tutorial that may help you to better understand the use of the { REF field }: Repeating Data -  (or populating multiple like fields)

This Microsoft Word Tips & Microsoft Word Help page offers several solutions to the question, "How do I enter data in one place in a document and have it automatically repeated in other places?" My intention is not to reinvent the wheel, so after a brief discussion I may simply send you on to an existing tips page or other web articles containing full explanations of some of the more comprehensive methods.

Site Note IconNote: A lot of this material was prepared and posted before the release of Word 2007 and the introduction of Content Controls.  Sections 1 through 6 address methods that can be used in all versions of Word (at least Word 2000 onwards).  Some of the graphics and/or user interface controls I mention may be from Word 2003.  Regardless, the methods are functionally the same.

See section 7, Content Controls, if you want to go directly to information about Content Controls introduced in Word 2007.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Paul SauvéRetiredCommented:
@Russ Suter have you solved your problem???
From your context I can see that you need to create legal documents where you want to repeat certain contents throughout the document. The accepted solution is OK, however, since I have had similar scenarios where I was using references, I occasionally stumbled over some issues, like for example:

Document contents that have been copy/pasted from or to other documents may all of the sudden have broken references;
Sometimes content doesn’t update on the screen, until printing or print-previewing, which may be annoying and frustrating for less experienced Word users;
When documents are shared among users with different Office versions, the above mentioned problems are even more likely to happen.

For this reason we decided for 3rd party toolkit (Docentric Toolkit) which supports template-based approached. It works in combination with .NET application, which prepares data and merges the data with chosen template at runtime.

We have extended reporting from our HR application this way. There are many legal templates which contain fixed text and placeholders for variable data, which can come from database, XML, or just about any other data .NET application can read. This data is merged with the template at runtime.

After the document has been generated it can be saved as MS Word document (.docx) or as PDF of XPS document. If the user is permitted to change anything after the document has been generated, then the document can be generated as .docx and is displayed in MS Word.

If no alterations are allowed, then PDF or XPS formats are best choices.
Should you have the need, you can include pictures, charts and subdocuments. Templates also permit conditional content, which means that you define a condition in your template based on which you include or exclude certain part of a document.

By taking this approach it is very easy to have control of your templates (i.e. versioning), adding, removing or changing templates. Changing data structures is done in the reporting application and published to the users.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.