Word Mail Merge

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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

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

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Alan said:
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.
 
This worked ok. however I am finding now that when the document is included it's formatting is all messed up.
 
That's to be expected, since it will take on the formatting of the current
document.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

Alan McNulty said:
This worked ok. however I am finding now that when the document is
included it's formatting is all messed up.
 
Back
Top