Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Lighthouse
 
Posts: n/a
Default Data fields in mail merge

I have a Word mail merge document, used to import Excel data - only dates.
When I have merged the data, all empty Excel date cells are populated in Word
by 12:00AM. I have edited the Word field codes to UK date format (they were
US), and now all empty Excel date cells are populated in Word with today's
date! Is there a way of telling Word to leave empty cells alone and leave
them blank?

Word cells are formatted with { MERGEFIELD contract_received\@"DD/MM/YYYY" }
- this is exact, including spaces. Would this formatting put a date into
every Word cell, even if the corresponding Excel cell is empty?

Any help will be gratefully received.
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default Data fields in mail merge

Use

{ IF { MERGEFIELD contract_received } "" { MERGEFIELD contract_received
\@"DD/MM/YYYY" } "" }

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Lighthouse" wrote in message
...
I have a Word mail merge document, used to import Excel data - only dates.
When I have merged the data, all empty Excel date cells are populated in
Word
by 12:00AM. I have edited the Word field codes to UK date format (they
were
US), and now all empty Excel date cells are populated in Word with today's
date! Is there a way of telling Word to leave empty cells alone and leave
them blank?

Word cells are formatted with { MERGEFIELD
contract_received\@"DD/MM/YYYY" }
- this is exact, including spaces. Would this formatting put a date into
every Word cell, even if the corresponding Excel cell is empty?

Any help will be gratefully received.



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
Mail Merge Losing Data Scott May Mailmerge 1 November 1st 05 11:03 PM
DotNet Data Table as Mail Merge Data Source goraya Mailmerge 1 July 7th 05 09:51 AM
Specific Email Merge w/ Specific Attachements Mark B Mailmerge 9 February 21st 05 05:10 AM
How do I remove or supress blank data in fields in mail merge e.g. J&L Mailmerge 2 January 14th 05 06:04 AM
can data fields be added to an exisiting mail merge address list missode Microsoft Word Help 1 December 19th 04 11:29 PM


All times are GMT +1. The time now is 05:43 PM.

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

About Us

"It's about Microsoft Word"