If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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. |
Thread Tools | |
Display Modes | |
|
|