If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Mail Merge Date Format from Excel to Word
I have date data in my excel sheet. I have formatted it dd month yyyy, but
when I perform the mail merge, in the word document it displays the time "12:00AM". I am using Word 2003. How do I fix this? |
#2
|
|||
|
|||
Mail Merge Date Format from Excel to Word
Hi Katie,
To get the date format you want, you can add a formatting picture switch. In Word: .. 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. .. position the cursor anywhere in this field and press F9 to update it; .. run your mailmerge. -- Cheers macropod [Microsoft MVP - Word] "Katie" wrote in message ... I have date data in my excel sheet. I have formatted it dd month yyyy, but when I perform the mail merge, in the word document it displays the time "12:00AM". I am using Word 2003. How do I fix this? |
Thread Tools | |
Display Modes | |
|
|