Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Heather Fabries Heather Fabries is offline
external usenet poster
 
Posts: 5
Default Excel Date and Time not merging correctly to word

I am using an excel spreadsheet to merge date and time to a Word letter. The
date format is set up in excel as Thursday, December 20, 2007 and the time as
7:15 AM. I did this through 'Format Cells". However, when I pull it over to
Word through the mail merge, it is showing the date that is seen in the
format bar - 12/19/2007 and the time 7:15:00 AM. How do I get it to pull
over the value in the cell and not what is in the formula bar?

I tried this in both Excel and Word 2003 and 2007.

Thank you.
Heather Fabries
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Big Mac Big Mac is offline
external usenet poster
 
Posts: 12
Default Excel Date and Time not merging correctly to word

Right click on the field in word and Edit the field code to look something
like
{ "MERGEFIELD "YourDateFieldName" \@"dd,MM,yyyy"} be careful to use caps
where necessary

--
Hope this helps :-)


"Heather Fabries" wrote:

I am using an excel spreadsheet to merge date and time to a Word letter. The
date format is set up in excel as Thursday, December 20, 2007 and the time as
7:15 AM. I did this through 'Format Cells". However, when I pull it over to
Word through the mail merge, it is showing the date that is seen in the
format bar - 12/19/2007 and the time 7:15:00 AM. How do I get it to pull
over the value in the cell and not what is in the formula bar?

I tried this in both Excel and Word 2003 and 2007.

Thank you.
Heather Fabries

  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Excel Date and Time not merging correctly to word

Word imports the raw data. You have to use a formatting switch to format it
as required.

In the case of the date
{Mergefield Datefieldname \@ "dddd, MMMM d, yyyy" }

in the case of the time
{Mergefield TimeFieldName \@ "hh:mm AM/PM" }

Press ALT+F9 to toggle the display and add the switches to the fields.

See http://www.gmayor.com/formatting_word_fields.htm

--

Graham Mayor - Word MVP

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


Heather Fabries wrote:
I am using an excel spreadsheet to merge date and time to a Word
letter. The date format is set up in excel as Thursday, December 20,
2007 and the time as 7:15 AM. I did this through 'Format Cells".
However, when I pull it over to Word through the mail merge, it is
showing the date that is seen in the format bar - 12/19/2007 and the
time 7:15:00 AM. How do I get it to pull over the value in the cell
and not what is in the formula bar?

I tried this in both Excel and Word 2003 and 2007.

Thank you.
Heather Fabries



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
Blank date fields in Excel merging with Date/Time margaret Mailmerge 1 March 16th 06 04:36 PM
HELP! SOMEBODY, anybody! Merging Excel date into Word 2003 templ gman Mailmerge 1 April 21st 05 09:00 AM
Excel date format merging to Word XP version Linda - Xtremly Peeved Mailmerge 11 April 12th 05 06:50 AM
When merging date into Word 2003 from Excel, how do I keep the fo. mail merge: Excel to Word Microsoft Word Help 1 March 6th 05 10:49 AM
Date issue merging from Excel field in Date format to Word Barb Reinhardt Mailmerge 1 December 17th 04 07:34 AM


All times are GMT +1. The time now is 03:21 AM.

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

About Us

"It's about Microsoft Word"