#1
|
|||
|
|||
Date not transfering to mail merge correctly
Hi Everyone,
can somwone please help me reformate the date of a mailmerge data. it currently comes through as 01/07/11 I want it to be 1 July 2011. I belive it can be done but dont know the code needed to do it. please help me. Tony |
#2
|
||||
|
||||
Hi Tony,
To get the date format you want, you can add a formatting picture switch as follows: • select the mergefield; • press Shift-F9 to expose the field coding. It should look something like {MERGEFIELD MyDate} where 'MyDate' is your mergefield's name; • delete anything appearing after the mergefield's name and add '\@ "d MMMM yyyy"' to the field, as in {MERGEFIELD MyDate \@ "d MMMM yyyy"}. With this switch your date will come out as '2 August 2008'. Other possible date formatting switches include: . \@ "dddd, d MMMM yyyy"; . \@ "ddd, d MMMM yyyy"; . \@ "d MMM yyyy"; . \@ "dd/MMM/yyyy"; . \@ "d-MM-yy"; Note: Note: you can swap the d, M, y expressions around, but you must use uppercase 'M's for months - lowercase 'm's are for minutes. • position the cursor anywhere in this field and press F9 to update it; • run your mailmerge. One thing you'll notice if you're using ordinary date fields in the mailmerge main document is that the date in the output document will update if you re-open the document at a later date, which can be problematic. There is a simple way to prevent this - embed the Date field in the mailmerge main document in a QUOTE field. To do this, simply select the date field, press Ctrl-F9 to embed it in another field, and type 'QUOTE' inside the left field brace, so that you end up with {QUOTE 'date field'}. With the QUOTE field, the date field will automatically unlink when the mailmerge output document is created.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Saving INDV mail merges During the mail merge | sedain121 | Mail Merge | 2 | 10-04-2011 07:52 PM |
transfering outlook PST to a new pc, unused storage folder and suggested contacts | burgers | Outlook | 1 | 06-14-2011 04:05 PM |
Transfering Project into Access | hb367 | Project | 0 | 09-07-2010 11:09 AM |
Mail Merge | nonworduser | Mail Merge | 0 | 08-24-2010 02:28 PM |
Add date and time stamp to new mail and incoming mail | cadsmarter | Outlook | 0 | 02-02-2006 08:50 AM |