Copy formfield value from one file to another

M

Marissa

I have two template files. The first one uses userforms to fill out fields in
the template. Once this form is filled out, another template is opened
(depending on user input). This second template also has userforms. The two
documents have four fields in common. How can I get the values of these
fields on the second form without the user having to enter them again?
 
H

Helmut Weber

Hi Marissa,

first, I'd say, you better create documents from the templates,
instead of using the templates themselves.
Second, formfields have nothing to do with userforms.
....
I don't know where to start!
....
You may write all the results from the formfields
to a txt-file, and for simplicity, put a "read" macro
in the second document's template, to get all the values
that where written out from doc 1 and fill the formfields
in doc 2. In fact, nothing but a quite simple database.
Store the results from doc 1 into a database,
create a new doc, read from the database.

Simple in a way, which means, can certainly be done,
and not simple, as you have to create a txt-file,
write to it, save it, close it, open it, read from it,
close it. Not to mention other ways.

Greetings from Bavaria, Germany

Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
 

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