Reply
 
Thread Tools Display Modes
  #1   Report Post  
bk
 
Posts: n/a
Default Including a Merge Code Within an IF Statement

I would like to include a merge code within an IF statement. For example, IF
column A = 1, then I'd like for the text to appear, "Please consider a gift
of $Ask." Where "Ask" is the field name of the dollar amount. I
think I used to be able to do this in previous versions of Word but in 2003
it won't let me? Or is there another way?
  #2   Report Post  
Graham Mayor
 
Posts: n/a
Default

What's the name of the mergefield that provides column A?

You could use something like

{IF {Mergefield A} = 1 "Please consider a gift of {Mergefield Ask \#
"$,0.00"}"}

see http://www.gmayor.com/formatting_word_fields.htm

--

Graham Mayor - Word MVP

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



bk wrote:
I would like to include a merge code within an IF statement. For
example, IF column A = 1, then I'd like for the text to appear,
"Please consider a gift of $Ask." Where "Ask" is the field
name of the dollar amount. I think I used to be able to do this in
previous versions of Word but in 2003 it won't let me? Or is there
another way?



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
Mail Merge dropping leading zeroes from the zip code lbradsha@erols Mailmerge 1 May 12th 05 04:50 PM
Mail Merge - Next Record If Statement HiramPat Mailmerge 5 April 22nd 05 04:03 PM
how do I associate a query to SQL code in a Word 2003 mail merge mm1861 Mailmerge 1 March 24th 05 11:40 AM
Specific Email Merge w/ Specific Attachements Mark B Mailmerge 9 February 21st 05 05:10 AM
Label merge in code Alejandra Parra Mailmerge 1 February 14th 05 08:27 PM


All times are GMT +1. The time now is 05:17 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"