Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / July 2005

Tip: Looking for answers? Try searching our database.

merge field not working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kim - 19 Jul 2005 14:29 GMT
My problem has moved on a bit. could anyone tell me what is wrong with the
field code below?
It should insert the text selected and bookmarked as congrats into the merge
document.
The bookmarked text is stored in another word  document called snail 1:

{IF {MERGEFIELD Inserts}="m_eng"{includetext"E:||Test docs\\Snail
stuff\\Alien1.doc"{congrats} } {\*MERGEFORMAT}"{IF{MERGEFIELD
Inserts{="h_eng" "good" "bad"}
I get an error saying book mark nor defined when I run it in those records
where the text needs to be inserted.
I have spent hours tweaking this around so help appreciated!
Thanks
Graham Mayor - 19 Jul 2005 16:46 GMT
You have a field {\*Mergeformat} which isn't a field at all? And you have
set Congrats , which presumably is a bookmark in the Included text also
demarked by field boundaries

{IF {MERGEFIELD Inserts}="m_eng" "{includetext"E:\\Test docs\\Snail
stuff\\Alien1.doc" congrats }" "{IF{MERGEFIELD
Inserts}= "h_eng" "good" "bad"}"}

seems to be closer to what you had in mind.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> My problem has moved on a bit. could anyone tell me what is wrong
> with the field code below?
[quoted text clipped - 10 lines]
> I have spent hours tweaking this around so help appreciated!
> Thanks
kim - 20 Jul 2005 10:13 GMT
Thank you Graham, that works fine now!
Kit

> You have a field {\*Mergeformat} which isn't a field at all? And you have
> set Congrats , which presumably is a bookmark in the Included text also
[quoted text clipped - 20 lines]
> > I have spent hours tweaking this around so help appreciated!
> > Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.