Word2000 field help

Y

YT

Hello,

This is hopefully a simple question:

I would like to have a document/template that has many pages. Throughout the document i would like to have spots where a field is populated with the same text.

So what would happen is that i create a new document (perhaps of type template) - on the first page is a field. I would type in the name of a person and that name would then get populated in a number of spots throughout the document.

Any ideas on a quick & easy way to accomplish this?


Thx,
yt
 
J

Jezebel

If you bookmark the location on page one, you can use REF fields elsewhere
to duplicate the text. Another method that I find more reliable is to use
document properties. Add the information to the File > Properties dialog
(either the built-ins on the Summary tab, or roll your own on the Custom
tab) then insert the values into the document using DOCPROPERTY fields.






Hello,

This is hopefully a simple question:

I would like to have a document/template that has many pages. Throughout the
document i would like to have spots where a field is populated with the same
text.

So what would happen is that i create a new document (perhaps of type
template) - on the first page is a field. I would type in the name of a
person and that name would then get populated in a number of spots
throughout the document.

Any ideas on a quick & easy way to accomplish this?


Thx,
yt
 
Y

YT

thanks for your reply. i tried both methods and they both worked fairly
well. The only problem is when i changed the document's properties (or the
bookmark), the fields throughout the document did not update automatically.
is there an easy way of accomplishing this?

thanks again,
yt
 
J

Jezebel

Alt-F9 is the command for updating fields in the selection. Use Ctrl-A
Alt-F9 to update the entire body of the document. Fields are normally
updated automatically when you open the document and when you print. If
you're using VBA you can update fields everywhere (including in headers and
footers) using code like this:

Dim pRange as Word.Range

For each pRange in ActiveDocument.StoryRanges
Do
pRange.Fields.Update
Set pRange = pRange.NextStoryRange
Loop until pRange is nothing
Next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top