Reply
 
Thread Tools Display Modes
  #1   Report Post  
Christine
 
Posts: n/a
Default Use Mergefield within text in if-field

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
  #2   Report Post  
Doug Robbins - Word MVP
 
Posts: n/a
Default Use Mergefield within text in if-field

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.

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

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



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text form field inside a WORD table cell, odd behavior when select pwrichcreek Tables 9 October 20th 05 12:34 AM
Numbers to appear at the cursor... ~D~ New Users 11 February 1st 05 04:49 AM
help, problem with text field in word 2003 Salvatore Microsoft Word Help 1 January 21st 05 03:40 PM
Text Form Field Ref in Footer Won't Update on Screen StarWine Microsoft Word Help 3 December 6th 04 06:17 PM
textbox to normal text Jack Sons New Users 16 December 5th 04 03:44 PM


All times are GMT +1. The time now is 08:58 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"