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 / Mailmerge and Fax / April 2004

Tip: Looking for answers? Try searching our database.

auto insertion of text from one word file into another

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
huw5 - 23 Apr 2004 12:15 GMT
i have text in one word file, that i need transferring into another wor
file

i'm hoping there is an easy method for automatically inserting the dat
elements into the other word doc, e.g.

word file 1 (stores the data)
============

NAME: hello
ADDRESS: 56 poo rd

============

run a macro of something, and data is transferred into the below file.

word file 2 (collects the data)
===========

the name is hello, and address is 56 poo rd.

===========

any simple way of doing this???.....macros etc....
don't really want to get into vb and dde if i can avoid it, but
hey if it's the only way then suppose i'll have to

any suggestions would be hugely appreciated

-Hu
Cindy M  -WordMVP- - 24 Apr 2004 15:03 GMT
Hi Huw5,

What you want is a mail merge, yes, so you'd be in the correct group.

The problem is that mail merge requires your data to be structured in a
particular way. What database people call a "flat table". For example, you
can create a table in a Word document an put the data in like this:

NAME | Address
---------------
Hello | 56 poo rd
-----------------
John | 100 main st

That is, the field names and each data record in its own row. Each field
in its own column.

Rather than putting the data into a table, it could also be in a delimited
format. This is structured the same way as a table, but you can use any
text character to separate the field information, and a paragraph mark to
separate the fields. Example:

Name;Address
Hello;56 poo rd
John;100 main st

What Word cannot do is link up to data in the format you show us, where
the field names are on the left, and (most likely) each data record is in
a block, one under the other.

> i have text in one word file, that i need transferring into another word
> file
[quoted text clipped - 24 lines]
> don't really want to get into vb and dde if i can avoid it, but
> hey if it's the only way then suppose i'll have to

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
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.