View Single Post
  #2  
Old March 5th, 2010, 01:15 PM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default Non-mergefield related IF statement

Try

{ ={ SECTIONPAGES }-{ PAGE } \#";;'some text'" }

Peter Jamieson

http://tips.pjmsn.me.uk

On 05/03/2010 11:21, Eddy Beuckelaers wrote:
Hi,

Below field sits in the footer and behaves as expected in a normal document.
The text only appears in the footer of the last page of each section.
When I apply mail merge to the document (which generates a multi-section
document), the merged document doesn't contain the IF fields anymore because
they are resolved during the merge.
Any ideas anyone on how to maintain the IF fields in the resulting merged
document? Or some completely different approach to show a text only on the
last page of each section of a merge result?

{IF {PAGE} {SECTIONPAGES} "" "some text"}

Thanks 1 000 000
Eddy.