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 21
Russ SuterAsked:
Who is Participating?
 
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)

EDIT:
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.
0
 
Rgonzo1971Commented:
Hi,

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

see example

Regards
myCompany.docx
0
 
Paul SauvéRetiredCommented:
@Russ Suter have you solved your problem???
0
 
Albi-LotCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.