Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2005

Tip: Looking for answers? Try searching our database.

Copy formfield value from one file to another

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marissa - 06 Apr 2005 19:47 GMT
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?
Helmut Weber - 07 Apr 2005 17:37 GMT
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/
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.