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 / November 2005

Tip: Looking for answers? Try searching our database.

Use Mergefield within text in if-field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Christine - 14 Nov 2005 02:44 GMT
Hi there!
I'm trying to do set up a mailmerge, where I can insert text as an option
and nest a Mergefield into the text. For example, if somebody booked a hotel,
it should say "we reserved a <single or double> room from <time frame> for
you. Otherwise it's blank.
Is this possible?
Thanks, Christine
Doug Robbins - Word MVP - 14 Nov 2005 05:16 GMT
Yes,

{ IF { MERGEFIELD somemergefield } = [somecondition] "We reserved a { IF {
MERGEFIELD roomtype } = 1 single double } from { MERGEFIELD arrival } to {
MERGEFIELD departure } for you." "" }

Each pair of field delimiters must be inserted using Ctrl+F9.  Use Alt+F9 to
toggle of the display of the field codes.

Signature

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

> Hi there!
> I'm trying to do set up a mailmerge, where I can insert text as an option
[quoted text clipped - 4 lines]
> Is this possible?
> Thanks, Christine
 
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.