View Single Post
  #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