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 / August 2005

Tip: Looking for answers? Try searching our database.

Merge field formatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim - 05 Aug 2005 17:47 GMT
Using MS Word 2000, I need to format a 6-digit merge field as a date.  
I try: { MERGEFIELD Date1 \@ M/d/yy } where Date1 is the field name, but I
only get the six digits e.g. 102004 showing in my letter.  What am I missing?
Peter Jamieson - 05 Aug 2005 18:53 GMT
I think Word thinks your 102004 is a number.

Assuming it means 20th October 2004, as a first shot, try the following,
where each pair of {} are the special field braces you can insert using
ctrl-F9:

{ QUOTE { MERGEFIELD Date1 \#"00/00/00" } \@M/D/Y }

Make sure the M, D and Y are uppercase.

Peter Jamieson

> Using MS Word 2000, I need to format a 6-digit merge field as a date.
> I try: { MERGEFIELD Date1 \@ M/d/yy } where Date1 is the field name, but I
> only get the six digits e.g. 102004 showing in my letter.  What am I
> missing?
Jim - 05 Aug 2005 22:05 GMT
Peter, thanks for the suggestion.  However, I get an error: "Too many picture
switches defined."  My date is coming in via a .CSV file.  I don't know how I
could tell Word that the value is a date and not just a 6-digit number.

> I think Word thinks your 102004 is a number.
>
[quoted text clipped - 12 lines]
> > only get the six digits e.g. 102004 showing in my letter.  What am I
> > missing?
Peter Jamieson - 05 Aug 2005 23:55 GMT
Are you sure all the {} are field code braces? It seems to work OK here.

Try { MERGEFIELD Date1 \#"00/00/00" }

first, then create a new field

{ QUOTE "" \@M/D/Y }

and copy/paste the mergefield inside the quotes.

Peter Jamieson

> Peter, thanks for the suggestion.  However, I get an error: "Too many
> picture
[quoted text clipped - 19 lines]
>> > only get the six digits e.g. 102004 showing in my letter.  What am I
>> > missing?
 
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.