#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 152
Default Date Format Problem

I've asked this in the Word group, but have not been able to resolve the
problem.

I am merging Excel data to Word (via mail merge). Three columns (D, E, &
L) on the worksheet are dates and are formatted exactly the same.

Col D & L show up in Word as serial numbers.

Col E shows up as a date.

I've tried putting a switch on the Word document (no success).

I've tried the DDE route, but Word only picks up the first worksheet (this
one is the 6th one in and cannot be moved as the workbook is set up in a
required sequence). Word also stops looking at the data when it encounters
an empty field (the 'comments' field will usually -- but not always -- be
empty).

Any ideas??

Thanks -- SuzLeigh
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Date Format Problem

Perhaps the column that comes across nicely is not really a date, but is
treated by Excel as text. You could use a formula like

=TEXT(A1,"dd-mmm-yyyy")

to display the value in A1 as a date in dd-mmm-yy format in another cell.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Suzanne" wrote in message
...
I've asked this in the Word group, but have not been able to resolve the
problem.

I am merging Excel data to Word (via mail merge). Three columns (D, E, &
L) on the worksheet are dates and are formatted exactly the same.

Col D & L show up in Word as serial numbers.

Col E shows up as a date.

I've tried putting a switch on the Word document (no success).

I've tried the DDE route, but Word only picks up the first worksheet (this
one is the 6th one in and cannot be moved as the workbook is set up in a
required sequence). Word also stops looking at the data when it
encounters
an empty field (the 'comments' field will usually -- but not always -- be
empty).

Any ideas??

Thanks -- SuzLeigh



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 152
Default Date Format Problem

There is apparantly no resolution to this problem. The work-around was
change the format of all my date fields to 'Custom: ##-##-####' (to obtain
MM-dd-yyyy).

Fortunately, the outcome of this particular workbook does not depend on date
queries; any future workbooks which (1) will be merged to Word and (2)
contain date-targeted queries, will probably require further adjustment.

suzleigh

"Suzanne" wrote:

I've asked this in the Word group, but have not been able to resolve the
problem.

I am merging Excel data to Word (via mail merge). Three columns (D, E, &
L) on the worksheet are dates and are formatted exactly the same.

Col D & L show up in Word as serial numbers.

Col E shows up as a date.

I've tried putting a switch on the Word document (no success).

I've tried the DDE route, but Word only picks up the first worksheet (this
one is the 6th one in and cannot be moved as the workbook is set up in a
required sequence). Word also stops looking at the data when it encounters
an empty field (the 'comments' field will usually -- but not always -- be
empty).

Any ideas??

Thanks -- SuzLeigh

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date format problem Natalie Excel Worksheet Functions 4 June 7th 07 02:28 PM
Date Format Problem Gayla Excel Discussion (Misc queries) 3 April 18th 07 08:48 PM
Date format problem Vass Excel Worksheet Functions 7 April 3rd 06 05:50 PM
Date Format problem nastech Excel Discussion (Misc queries) 2 January 18th 06 02:54 AM
date format problem Nigel Excel Discussion (Misc queries) 7 May 11th 05 01:57 PM


All times are GMT +1. The time now is 07:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"