Thread: Building a form
View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Building a form

What sort of form?

If you are using formfields in a protected document, each formfield will
have a bookmark name assigned to it and in the other locations where you
want the data to appear, you can insert a cross reference to the text of the
bookmark. You will need to check the "Calculate on exit" box in the
properties dialog of the formfields so that the cross reference fields in
the document are updated with the information that is entered into the
formfield.

With that type of field however, the protection that must be applied to the
document does impact on the available features in Word and it may be better
to use a userform to gather the information from the user

See the article "How to create a Userform" at:

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm

With that approach, you can either use code to insert the information into
multiple bookmarks (they must have unique names) or once again, you can use
a cross reference to the text of a bookmark.

You can also have the code set the value of variables in the document and
then insert the corresponding { DOCVARIABLE } wherever you want the
information to appear.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Eric" wrote in message
...
Hello,

I am building a form and would like some of the text entered to repeat
itself automatically wherever I decide.
For instance the first fields on the first page are the date and the
client name, is there any way to link those fields to other fields or
location across the document to appear automatically without having to
update the document, almost like a cell reference in Excel (=C9)?

Thank you.


Eric