Word2000 field help

  • Thread starter Thread starter YT
  • Start date Start date
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
 
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
 
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
 
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
 
F9 updates fields. Alt+F9 toggles field display.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Quite right.


Suzanne S. Barnhill said:
F9 updates fields. Alt+F9 toggles field display.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

of
 
Back
Top