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 Mergefield nested in Includetext doesn't recognize path in WD2007

Based on information from fellow MVP Macropod, if you use the following
field construction in the mail merge main document, the field will be
updated automatically:

{IF {INCLUDETEXT {IF TRUE "«PARA_INTERVIEW»"}} {INCLUDETEXT {IF TRUE
"«PARA_INTEVIEW»"}}}

You probably know that you must use Ctrl+F9 to insert each pair of field
delimiters {}

--
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, originally posted via msnews.microsoft.com
"WPenfold" wrote in message
...
Hi, I'm trying to convert some mailmerge documents to WD2007 and having a
problem with Includeext that is based on a Mergefield:

{IncludeText "{MergeField PARA_INTERVIEW}"}

Where PARA_INTERVIEW is H:\\interview.doc

Instead of including the file, the string: "H:\\interview.doc" is included
in the merged document instead. Yet if I highlight the string in the
merged
document and press Shift F9, it does pull in the document, so it can
successfully find it, for some reason it just doesn't seem to recognize it
as
a path in the original merge. Any suggestions how to deal with this?
I've
tried every combination of double quotes and backslashes I can think of.