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
|
|||
|
|||
Word Mail Merge
I am trying to insert other word documents into my main merge document based on certain conditions, ie if a condition is true insert this document, otherwise do nothing. All help would be greatly appreciated.
|
#2
|
|||
|
|||
Word Mail Merge
You need a conditional field:
{IF{Mergefield Fieldname} = condition "{Includetext "c:\\path\\filename.doc}"} You'll have to insert this manually using CTRL+F9 for the field boundaries {} and substitute the correct filename/fieldname etc. Note the double separators in the path! -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Alan wrote: I am trying to insert other word documents into my main merge document based on certain conditions, ie if a condition is true insert this document, otherwise do nothing. All help would be greatly appreciated. |
#3
|
|||
|
|||
Word Mail Merge
I think you'll have to be a bit more specific. You would use an INCLUDETEXT
field to insert the other document and and IF field to test for the condition, but I don't see how we can help beyond that without knowing what the condition is. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Alan" wrote in message ... I am trying to insert other word documents into my main merge document based on certain conditions, ie if a condition is true insert this document, otherwise do nothing. All help would be greatly appreciated. |
#4
|
|||
|
|||
Word Mail Merge
This worked ok. however I am finding now that when the document is included it's formatting is all messed up.
"Suzanne S. Barnhill" wrote: I think you'll have to be a bit more specific. You would use an INCLUDETEXT field to insert the other document and and IF field to test for the condition, but I don't see how we can help beyond that without knowing what the condition is. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Alan" wrote in message ... I am trying to insert other word documents into my main merge document based on certain conditions, ie if a condition is true insert this document, otherwise do nothing. All help would be greatly appreciated. |
Thread Tools | |
Display Modes | |
|
|