Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
I am creating a mail merge into Word 2003 with data from Excel 2003. Several
columns of data are date fields with several that are blank. When I complete the merge, the records that have blank date fields show up in my merged document as 12:00:00AM. How do I prevent this from happening? |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
You would need to trap the error with a conditional field e.g.
{IF {Mergefield DatefieldName} "12:00:00AM" "{Mergefield DatefieldName}"} Make sure you enter the time *exactly* as it currently appears in your merge, though {IF {Mergefield DatefieldName} "12:00*" "{Mergefield DatefieldName}"} should work. Alternatively you could use the less reliable DDE method - From the Tools menu in Word, select Options and then go to the General tab and check the box against the "Confirm conversions at open" item. (In Word 2007 it is Office Button Word Options Advanced General Confirm file format conversion on open). Then when you attach the data source to the mail merge main document, you will be given the option of using the DDE method of connection which should read the data as you have it formatted in the table. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org jerez718 wrote: I am creating a mail merge into Word 2003 with data from Excel 2003. Several columns of data are date fields with several that are blank. When I complete the merge, the records that have blank date fields show up in my merged document as 12:00:00AM. How do I prevent this from happening? |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I convert a date/time field in a merge field? | Mailmerge | |||
Mail merge with Word 2003 and SQL 2005 on a date and time field. | Mailmerge | |||
How to get a date merge field to show a date 60 days in the future | Mailmerge | |||
Date Time Field that auto updates - Merge Documents | Microsoft Word Help | |||
how do i delete "time" from date/time merge field in mail merge? | Mailmerge |