View Single Post
  #5  
Old March 25th, 2010, 04:22 PM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default Specific Date Format

My best guess based on your picture is that you have
rd ;st;nd
i.e. with a space after "rd"
when you need
rd;st;nd

(It should be possible to copy/paste the entire field nested field code
from macropod's document to yours, then change the name of the date
field as necessary).

Peter Jamieson

http://tips.pjmsn.me.uk

On 25/03/2010 12:02, Andy Roberts wrote:
Peter

I have attached the field code i'm using to deal with the Ordinal which is
merging a Merge Field called Date _Received. Everything works ok when it
pulls a date which has an Ordinal of "th" eg 25th, 26th etc. However if it
pulls a date using "rd" "st" or "nd" then I get a syntax error.

The code looks ok to me (but obviously isnt)