View Single Post
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Mergefield nested in Includetext doesn't recognize path in WD2007

Hi Doug,

If the OP doesn't need to break the links, all that's needed is:
{INCLUDETEXT {IF TRUE "«PARA_INTERVIEW»"}}

--
Cheers
macropod
[Microsoft MVP - Word]


"Doug Robbins - Word MVP" wrote in message ...
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.