A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Word » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Word Mail Merge



 
 
Thread Tools Display Modes
  #1  
Old June 22nd, 2004, 10:48 AM
Alan
external usenet poster
 
Posts: n/a
Default 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  
Old June 22nd, 2004, 12:51 PM
Graham Mayor
external usenet poster
 
Posts: n/a
Default 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  
Old June 22nd, 2004, 01:56 PM
Suzanne S. Barnhill
external usenet poster
 
Posts: n/a
Default 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  
Old June 24th, 2004, 11:26 AM
Alan McNulty
external usenet poster
 
Posts: n/a
Default 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.


  #5  
Old June 24th, 2004, 03:10 PM
Suzanne S. Barnhill
external usenet poster
 
Posts: n/a
Default Word Mail Merge

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
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 McNulty" Alan wrote in message
...
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.