View Single Post
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Lene Fredborg Lene Fredborg is offline
external usenet poster
 
Posts: 1,291
Default if not working in footer

Doug,

(Your post did not appear until after I posted my previous post). I tested
in both Word 2003 and Word 2007 before posting, and I performed a mail merge
€“ and my conditional fields in both the header and footer survived (just
tested again to make sure I was not dreaming - it is after bedtime here€¦).

--
Regards
Lene Fredborg - Microsoft MVP (Word)
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Doug Robbins - Word MVP" wrote:

IF fields do work in the Footer/Header panes of documents, but they do not
survive the mailmerge process.

One way to get around it would be to use the "roll-your-own" alternative to
mail merge as detailed in the article €śCombining FormFields and Mail Merge€ť
on the following page of fellow MVP Graham Mayors website:

http://www.gmayor.com/Form_Fields_and_Mail_Merge.htm


--
Hope this helps,

Doug Robbins - Word MVP

Please reply only to the newsgroups unless you wish to obtain my services on
a paid professional basis.

"mdullni1 via OfficeKB.com" u5661@uwe wrote in message
news:a1b8936bd8ed3@uwe...
Hi,

I'm using Word 2007.
I have a template set up with merge fields that are of variable length. I
have a different 1st page header/footer.
I need to print "Continued on page 2" on the 1st page when a mailmerge
letter
goes to two pages. I have tried the following variations in the footer
but
cannot get the message to print:

{ if {SECTIONPage} = "1" "" "Continued Next Page" }

{ if {SECTIONPage} = 1 "" "Continued Next Page" }

{ if {SECTIONPage} = "2" "Continued Next Page" "" }

{ if {PAGE} {SECTIONPage} "Continued Next Page" "" }

..and a few more variations.

My last attempt was to create a bookmark on the signature line of the
letter
and put the following in the footer: { if {PAGEREF signature} = "2"
"Continued Next Page" "" }

Nothing has worked. Do if statements work in the footer? Can anyone help
me
with how to conditionally print something in the footer?

Thanks.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...merge/201001/1


.