Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Peter Karlström Peter Karlström is offline
external usenet poster
 
Posts: 6
Default Supress blank Printdate

Hi

Is there a way to hide a zero printdate when using it as a field in the
pagefooter.
I have tried to use the If statement in the fieldcodes but I don't seem to
get it right.

Any example of supressing a zero printdate is appreciated.

Thanks in advance
--
Peter Karlström
Midrange AB
Sweden
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Supress blank Printdate

You could use something like

{ IF { Printdate \@ "yyyy"} "0" "{ PrintDate \@ "d MMM yyyy" }" "Not
printed"}

The "Not printed" bit is optional
The curly brackets are placed with CTRL+F9

--

Graham Mayor - Word MVP

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


Peter Karlström wrote:
Hi

Is there a way to hide a zero printdate when using it as a field in
the pagefooter.
I have tried to use the If statement in the fieldcodes but I don't
seem to get it right.

Any example of supressing a zero printdate is appreciated.

Thanks in advance



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
Supress blank lines Jan Mailmerge 5 March 6th 06 03:52 PM
How to supress blank merge fields in Word 2002 DiTab1 Microsoft Word Help 9 November 10th 05 04:56 PM
How to supress blank record warning. [email protected] Mailmerge 0 November 10th 05 02:50 PM
Supress the blank space from a blank data field? John Mailmerge 3 September 20th 05 04:31 PM
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


All times are GMT +1. The time now is 08:44 AM.

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"