Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Use
{ IF { MERGEFIELD Date_Of_Birth \@ "yyyyMMdd" } 19760701 "Text1" "Text2" } -- 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 "AdamT" wrote in message news ![]() I'm trying to create an IF field in a mail merge to display one of two paragraphs depending on whether the Date of Birth field in a record is after a certain time. I've tried using: { IF { MERGEFIELD Date_Of_Birth } 01/07/1976 "Text1" "Text2" } (The date format above is UK, i.e. dd/MM/yyyy) ...but Word always seems to treat the date as a number, and so any date later than the first of a month counts as a positive, irrespective of month or year. |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I mail merge to EMAIL from MS Word AND add a pdf attachment | Mailmerge | |||
How do I compare later/earlier dates in a mail merge IF field? | Mailmerge | |||
Adding a field to an Off 97 mail merge using Office Pro 2003 | Mailmerge | |||
How do I compare dates in a Word IF field? | Microsoft Word Help | |||
How do I compare dates in a Word IF field? | Microsoft Word Help |