Reply
 
Thread Tools Display Modes
  #1   Report Post  
aiyou
 
Posts: n/a
Default Formatting Text String (dd-MMM-yy) to Date (MM/dd/yyyy)

Looking for help to change the format of a text string...mailmerge source is
a .csv file, with date formatted as "dd-MMM-yy". I would really like to
convert this to a standard "MM/dd/yyyy" format.

A similar item was addressed by Peter on 08/05/05 (Merge Field Formatting),
but I have been unable to apply his solution to my problem due to the
different date format.

I've tried the following, but was unsuccessful:

{QUOTE { MERGEFIELD Date1 \# "00-@@@-00" } \@ MM/dd/yyyy }

Any help would be greatly appreciated
  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

See the "Dates: day/month reversed" item under the "Connection methods"
topic of the "Mail merge in Word 2002" section of fellow MVP Cindy
Meister's website at
http://homepage.swissonline.ch/cindy...r/MergFram.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"aiyou" wrote in message
...
Looking for help to change the format of a text string...mailmerge source
is
a .csv file, with date formatted as "dd-MMM-yy". I would really like to
convert this to a standard "MM/dd/yyyy" format.

A similar item was addressed by Peter on 08/05/05 (Merge Field
Formatting),
but I have been unable to apply his solution to my problem due to the
different date format.

I've tried the following, but was unsuccessful:

{QUOTE { MERGEFIELD Date1 \# "00-@@@-00" } \@ MM/dd/yyyy }

Any help would be greatly appreciated



  #3   Report Post  
Graham Mayor
 
Posts: n/a
Default

{Mergefield Date1 \@ "MM/dd/yyyy"} should work.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


aiyou wrote:
Looking for help to change the format of a text string...mailmerge
source is a .csv file, with date formatted as "dd-MMM-yy". I would
really like to convert this to a standard "MM/dd/yyyy" format.

A similar item was addressed by Peter on 08/05/05 (Merge Field
Formatting), but I have been unable to apply his solution to my
problem due to the different date format.

I've tried the following, but was unsuccessful:

{QUOTE { MERGEFIELD Date1 \# "00-@@@-00" } \@ MM/dd/yyyy }

Any help would be greatly appreciated



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit/Paste Special/Unformatted Text also copies formatting GKW in GA Microsoft Word Help 6 November 24th 05 09:56 AM
Specific formatting of the date Wowbagger New Users 3 August 2nd 05 11:46 PM
Date formatting in text form field, part II Ray_Johnson Microsoft Word Help 2 February 10th 05 10:01 PM
When I change text formatting, the entire document is changed mikem Microsoft Word Help 3 December 10th 04 04:07 PM
User-applied formatting of text field contents? Ed Kennedy Microsoft Word Help 1 December 3rd 04 04:44 PM


All times are GMT +1. The time now is 09:46 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"