A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Non-mergefield related IF statement



 
 
Thread Tools Display Modes
  #1  
Old March 5th, 2010, 12:21 PM posted to microsoft.public.word.mailmerge.fields
Eddy Beuckelaers
external usenet poster
 
Posts: 2
Default Non-mergefield related IF statement

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.


  #2  
Old March 5th, 2010, 02: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.


  #3  
Old March 5th, 2010, 05:40 PM posted to microsoft.public.word.mailmerge.fields
Eddy Beuckelaers
external usenet poster
 
Posts: 2
Default Non-mergefield related IF statement

Good idea, tx.
Text length seems to be limited to 64 chrs. though. No worries, I'll chop it
in pieces that fit.

"Peter Jamieson" schreef in bericht
...
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.




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

Text length seems to be limited to 64 chrs. though.

Yes, that's correct, and I don't think there's a workaround other than
the one you are using.

Peter Jamieson

http://tips.pjmsn.me.uk

On 05/03/2010 16:40, Eddy Beuckelaers wrote:
Good idea, tx.
Text length seems to be limited to 64 chrs. though. No worries, I'll chop it
in pieces that fit.

"Peter schreef in bericht
...
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.




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:55 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.