Thread: Syntax
View Single Post
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Syntax

Alternatively, if you are hell bent on doing it in Word, to see how to do
this and just about everything else you might want to do
with dates in Word, check out fellow MVP, Macropod's Date Calc 'tutorial',
at:

http://www.wopr.com/cgi-bin/w3t/show...?Number=249902

or at the following page of fellow MVP Graham Mayor's website

http://www.gmayor.com/downloads.htm#Third_party

where he has an item titled 'Date and Time Calculations In A Mailmerge'


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

"alex" wrote in message
...
Hi Using word with Excel as a datasource:
I want to say: I want to say:

If the data (date of birth) in that cell means the person is over 60yrs,
Then "we welcome volunteers that are more mature", Else "All volunteers
welcome".

{IF {MERGEFIELD DoB}= "=Today()-21900" "we welcome volunteers that are
more mature" "All volunteers welcome"}

Can someone tell me what i have done wrong please

Thanks

A