View Single Post
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
lion lion is offline
external usenet poster
 
Posts: 5
Default Insert file based on contents of merge field


Thanks Doug,
I'll try it today!



"Doug Robbins - Word MVP" wrote:

Use the following field construction in your mail merge main document

{QUOTE {INCLUDETEXT "C:\\Document Path\\{ MERGEFIELD Article }.docx"}}

replacing the Article with the name of the merge field that contains the
number such as 123.

Note that you must use Ctrl+F9 to insert each pair of field delimiters { }
--
Hope this helps,

Doug Robbins - Word MVP

Please reply only to the newsgroups unless you wish to obtain my services on
a paid professional basis.

"lion" wrote in message
...
Hello,
Does somebody know if (and how) it is possible to insert a file in a Word
2007 document, based on the contents of a merge field?
The merge field contains a number. If the numer is 123, the file 123.docx
should be inserted. This file contains the (long) description of article
123.
It is very important that the text keeps its formatting. That's why the
long
description cannot be entered in the database.
All help appreciated!


.