Condition / insert external document

S

superseba888

Hello,

It is possible to insert customized text, after a condition is
verified :

--- If "gender=male" then insert "This member is male"
--- If "gender=female" then insert "This member is female"

My question >>
Is it possible to do the same, but inserting an external word file
(.doc) in lieu of a text :

--- If "gender=male" then insert wordfile "male.doc"
--- If "gender=female" then insert wordfile "female.doc"


Since I am a newbie in word mailmerge, I'm looking for the syntax I
have to use.

Thanks !
Vince
 
M

macropod

Hi Vince,

Try a set of nested fields code along the lines of

{INCLUDETEXT C:/Path/Subpath/{IF{MERGEFIELD Gender}= "male" "Male.doc" "Female.doc"}}

Cheers

--
macropod
[MVP - Microsoft Word]


| Hello,
|
| It is possible to insert customized text, after a condition is
| verified :
|
| --- If "gender=male" then insert "This member is male"
| --- If "gender=female" then insert "This member is female"
|
| My question >>
| Is it possible to do the same, but inserting an external word file
| (.doc) in lieu of a text :
|
| --- If "gender=male" then insert wordfile "male.doc"
| --- If "gender=female" then insert wordfile "female.doc"
|
|
| Since I am a newbie in word mailmerge, I'm looking for the syntax I
| have to use.
|
| Thanks !
| Vince
|
 
D

Doug Robbins - Word MVP

You must use Ctrl+F9 to insert each pair of field delimiters { } and use
Alt+F9 to toggle off their display.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top