A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formating Dates from Excel in Merge



 
 
Thread Tools Display Modes
  #1  
Old September 28th, 2009, 07:47 PM posted to microsoft.public.word.mailmerge.fields
ccieri
external usenet poster
 
Posts: 1
Default Formating Dates from Excel in Merge


I am using Word and Excel 2007

I would like to merge dates from an excel file. The date entry in
excel = 10/1/2009; however, I formatted the column to look like
Thursday, October 1, 2009.

When I merge it to Word, it merges 10/1/2009.

How can I format my word document so it converts it to the long form?

Catherine




--
ccieri
  #2  
Old September 29th, 2009, 01:56 AM posted to microsoft.public.word.mailmerge.fields
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default Formating Dates from Excel in Merge

Hi ccieri,

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 '\@ "dddd, MMMM d, yyyy"' to the field, as in {MERGEFIELD MyDate \@
"dddd, MMMM d, yyyy"}. With this switch your date will come out as 'Thursday, October 1, 2009'. 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]


"ccieri" wrote in message ...

I am using Word and Excel 2007

I would like to merge dates from an excel file. The date entry in
excel = 10/1/2009; however, I formatted the column to look like
Thursday, October 1, 2009.

When I merge it to Word, it merges 10/1/2009.

How can I format my word document so it converts it to the long form?

Catherine




--
ccieri


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.