Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
WPenfold WPenfold is offline
external usenet poster
 
Posts: 6
Default Mergefield nested in Includetext doesn't recognize path in WD2007

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.
  #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.


  #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.



  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
WPenfold WPenfold is offline
external usenet poster
 
Posts: 6
Default Mergefield nested in Includetext doesn't recognize path in WD2

Great! I'll give it a try...

"macropod" wrote:

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.




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INCLUDETEXT and virtual path Deb Microsoft Word Help 7 August 25th 09 05:01 AM
Nested mergefield in hyperlinks changes into static after mailmerg Vetruvian Man Mailmerge 6 June 16th 09 02:23 AM
Mergefield nested if problem Matthew Loraditch Mailmerge 6 May 3rd 08 06:45 AM
Nested if and includetext Lupe Mailmerge 2 August 30th 07 09:08 PM
IncludeText with relative path Anderflash Mailmerge 1 July 5th 07 06:53 PM


All times are GMT +1. The time now is 02:34 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"