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 / May 2006

Tip: Looking for answers? Try searching our database.

Empty merge fields come over as 12:00:00

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pepper - 03 May 2006 21:18 GMT
When merging from Excel into Word 2002 the fields that are empty (a date
field) comes over with 12:00:00 instead of blank. I am putting together a
roster that shows birthdates. When the birthdate is unknown the field in
Excel is empty. When it merges into word the field indicates the time instead
of being blank. How can I insert this field without the time.
Doug Robbins - Word MVP - 04 May 2006 04:51 GMT
Use an If...then...Else... construction

{ IF { MERGEFIELD Birthdate } = "12:00:00" "" { MERGEFIELD Birthdate } }

You must use Ctrl+F9 to insert each pair of field delimiters { } and Alt+F9
to toggle off their display

Signature

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

> When merging from Excel into Word 2002 the fields that are empty (a date
> field) comes over with 12:00:00 instead of blank. I am putting together a
> roster that shows birthdates. When the birthdate is unknown the field in
> Excel is empty. When it merges into word the field indicates the time
> instead
> of being blank. How can I insert this field without the time.

Rate this thread:






 
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.