Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / November 2003

Tip: Looking for answers? Try searching our database.

Help with Mail Merge switch for a date

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrew Pearen - 10 Nov 2003 15:30 GMT
Good day

I have a word mail merge form that I am pulling in
employee data. I have tried to format that date to make it
more readable but the formatting is not changing.
The original field codes view noted;
{ MERGEDFIELD EMP_ADJ_HIRE_DATE }
I edited and changed it to
{ MERGEDFIELD EMP_ADJ_HIRE_DATE \@ "MMM-dd-yyyy" }
without success, no formatting change occurred.
Any help would be appreciated.
Peter Jamieson - 10 Nov 2003 17:52 GMT
There's probably a simpler way, but if not, you may need to split the date
up using { = } fields, e.g.

{ SET dt { MERGEFIELD EMP_ADJ_HIRE_DATE } }
{ SET y { =int({ dt } / 10000) } }
{ SET md { = { dt } - ({ y}*10000) } }
{ SET m { =int({ md } / 100) } }
{ SET d { = { md } - ({ m}*100) } }

Then e.g.

{ QUOTE "{ y }-{ m }-{ d }" \@"MMM-DD-YYYY" }

--
Peter Jamieson
MS Word MVP

> Good day
>
[quoted text clipped - 7 lines]
> without success, no formatting change occurred.
> Any help would be appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.