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 / June 2005

Tip: Looking for answers? Try searching our database.

Current date/time displayed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Huub - 27 Jun 2005 14:34 GMT
Merging Word 2003 with Excel 2003 sheet as input.

If the field "GebdatP" is empty in the Excel file the Word 2003 field
{MERGEFIELD  GebdatP \@ "d MMMM yyyy"} results in "27 june 2005", but we
expect an empty field!

If the field "GebdatP" is empty in the Excel file the Word 2003 field
{MERGEFIELD  GebdatP } results in "12:00 00 AM"

The field "GebdatP" is not really empty, but filled with a statement =IF(....)

This problem just occurs today without changing the original Word document,
normally these fields were as expected empty in my Word document.

Regards, Huub.
Huub - 27 Jun 2005 15:22 GMT
Also tried to create a field like:

"{IF {MERGEFIELD GebdatP}="12:00 00 AM" "" "{MERGEFIELD  GebdatP \@ "d MMMM
yyyy"}}

but that doesn't also result in a correct way.

> Merging Word 2003 with Excel 2003 sheet as input.
>
[quoted text clipped - 11 lines]
>
> Regards, Huub.
Graham Mayor - 28 Jun 2005 06:02 GMT
What result do you get?
Are you inserting the conditional fields using CTRL+F9 for the field
boundaries?
Try the inverse
{IF {MERGEFIELD GebdatP} <> "12:00 00 AM" "{MERGEFIELD  GebdatP \@ "d MMMM
yyyy"}"}
Note the spaces and quotes.
See also the Excel data section of
http://www.gmayor.com/mail_merge_labels_with_word_xp.htm

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

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

> Also tried to create a field like:
>
[quoted text clipped - 20 lines]
>>
>> Regards, Huub.
Huub - 29 Jun 2005 08:56 GMT
Thanks Graham, this works!!!!

> What result do you get?
> Are you inserting the conditional fields using CTRL+F9 for the field
[quoted text clipped - 5 lines]
> See also the Excel data section of
> http://www.gmayor.com/mail_merge_labels_with_word_xp.htm
Graham Mayor - 29 Jun 2005 15:25 GMT
You are welcome :)

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

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

> Thanks Graham, this works!!!!
>
[quoted text clipped - 15 lines]
>> Word MVP web site http://word.mvps.org
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>

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.