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  

Word Mail Merge Date Format



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 11th, 2007, 09:58 PM posted to microsoft.public.word.mailmerge.fields
merecat_
external usenet poster
 
Posts: 3
Default Word Mail Merge Date Format

I'm using Word 2002 SP2.

Have had some real problems over the last week trying to get Word's
mail merge to correctly (and consistently) interpret date values.

I tried feeding in all sorts of date formats - this didn't work.

I tried forcing Word to interpret my date as a string - this didn't
work either.

I was about to resort to injecting my date as three separate fields (a
real sledgehammer to crack a nut - that's how desperate I was).

But then I tried enclosing my date in '#' characters - and it worked -
I recall date literals being encoded like this in MS Access.

E.g. the dates in my text file were thus:

#12 december 2002#

I can then us the /@ "dd MMM yyyy" type merge field switches to format
the date as I wish in Word.

Couldn't find this answer anywhere on the net - so thought I'd post it
here in case it helps others. I have no idea whether this works on
other versions of Word or indeed whether the same problem occurs.

It's just so confusing and there is no clear documentation for this.
Why o why does the world use software that is so badly documented!!

BTW I should point out - my data resides in a unicode text file (tab
delimited) but my 'pre-processing' takes this text file and opens it
up and saves it out to an excel document - which is used as input to
the mail merge process. I couldn't get Word to accept my text file
directly (perhaps this was part of the original problem - i.e.
translating the text file into Excel - to be honest I don't really
care [I've been ground down by the problem as you see!] - it works now
anyway - yahoo!).

Mark.
UK.

 




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 08:11 AM.


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