Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Charles Charles is offline
external usenet poster
 
Posts: 32
Default Date Field - Switch to Suppress

Hi

I'm creating a mailmerge with an Excel spreadsheet in Word 2002.

A number of the fields are dates and sometimes the date is missing in the
spreadsheet.

In Word this blank date is showing as 12:00:00 AM. I have added the Switch
\@ "dd/mm/yyyy" to stop this displaying, but it didn't work.

How do I suppress this?

Thanks
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Date Field - Switch to Suppress

You would have to trap what the field actually produces with a conditional
field construction eg

{IF {Mergefield Fieldname} "12:00:00 AM" "{Mergefield Fieldname \@
"dd/MM/yyyy"}"}

The bracket pairs {} are each entered with CTRL+F9.

--

Graham Mayor - Word MVP

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



Charles wrote:
Hi

I'm creating a mailmerge with an Excel spreadsheet in Word 2002.

A number of the fields are dates and sometimes the date is missing in
the spreadsheet.

In Word this blank date is showing as 12:00:00 AM. I have added the
Switch \@ "dd/mm/yyyy" to stop this displaying, but it didn't work.

How do I suppress this?

Thanks



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Charles Charles is offline
external usenet poster
 
Posts: 32
Default Date Field - Switch to Suppress

Thank very much Graham, as always, I can rely on great assistance here.

Regards

Charles

"Graham Mayor" wrote:

You would have to trap what the field actually produces with a conditional
field construction eg

{IF {Mergefield Fieldname} "12:00:00 AM" "{Mergefield Fieldname \@
"dd/MM/yyyy"}"}

The bracket pairs {} are each entered with CTRL+F9.

--

Graham Mayor - Word MVP

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



Charles wrote:
Hi

I'm creating a mailmerge with an Excel spreadsheet in Word 2002.

A number of the fields are dates and sometimes the date is missing in
the spreadsheet.

In Word this blank date is showing as 12:00:00 AM. I have added the
Switch \@ "dd/mm/yyyy" to stop this displaying, but it didn't work.

How do I suppress this?

Thanks




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
date switch/format BJ Microsoft Word Help 4 November 27th 08 12:36 AM
How to suppress autotext US date format after typing current year Bagrat Microsoft Word Help 7 October 8th 08 07:26 AM
Date Field Switch \@ "d MMM yyyy" David Griesel[_2_] Mailmerge 1 May 26th 08 02:49 PM
date field switch so it doesn't update every time you open docume. IreneHen Microsoft Word Help 3 October 8th 05 05:58 AM
How can I suppress the date and time in tracked changes? PhineasP Microsoft Word Help 1 August 20th 05 10:25 AM


All times are GMT +1. The time now is 08:50 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"