Reply
 
Thread Tools Display Modes
  #1   Report Post  
Kevin L
 
Posts: n/a
Default Conditionally Hide Merge Fields

Here is my dilemma,

I have a graphic that must be present on every page.
I have a Merge Field that must precede the graphic image, but must only show
on the first page.

If I put both the Merge Field and Graphic Image in the Header:

My graphic will show on every page as desired
My Merge Field will precede my Graphic image on page 1 as I have placed
it first in the header, but my merge field will also be on every page
which I do not desire.


Is there a way to place my merge field in the header, but hide it when Page
number is not 1?


  #2   Report Post  
Greg
 
Posts: n/a
Default

{IF {PAGE} = "1"{Your MergeFiedl}""}

Use CTRL+F9 to enter the field code braces.

  #3   Report Post  
Kevin L
 
Posts: n/a
Default

Hi Greg,
I must be doing something wrong:

Here is what I have.

{ IF { PAGE }="1" { MERGEFIELD "CT_Fax" }"" }



When I merge, my CT_Fax field shows on every page (there are 2 pages in my
test merge)













"Greg" wrote in message
ups.com...
{IF {PAGE} = "1"{Your MergeFiedl}""}

Use CTRL+F9 to enter the field code braces.



  #4   Report Post  
Kevin L
 
Posts: n/a
Default

Hi Greg,
This seems to work on my Main Document but not on the MERGED Document.



"Kevin L" wrote in message
...
Hi Greg,
I must be doing something wrong:

Here is what I have.

{ IF { PAGE }="1" { MERGEFIELD "CT_Fax" }"" }



When I merge, my CT_Fax field shows on every page (there are 2 pages in my
test merge)













"Greg" wrote in message
ups.com...
{IF {PAGE} = "1"{Your MergeFiedl}""}

Use CTRL+F9 to enter the field code braces.





  #5   Report Post  
Greg Maxey
 
Posts: n/a
Default

Kevin,

Sorry for wasting your time. All you need to do is set up the Main Document
with a different first page. FilePageSetupLayout.

Put the merge field and graphic in the first page header and put just the
graphic in the following header.


--
Greg Maxey/Word MVP
A Peer in Peer to Peer Support

Kevin L wrote:
Hi Greg,
This seems to work on my Main Document but not on the MERGED Document.



"Kevin L" wrote in message
...
Hi Greg,
I must be doing something wrong:

Here is what I have.

{ IF { PAGE }="1" { MERGEFIELD "CT_Fax" }"" }



When I merge, my CT_Fax field shows on every page (there are 2 pages
in my test merge)













"Greg" wrote in message
ups.com...
{IF {PAGE} = "1"{Your MergeFiedl}""}

Use CTRL+F9 to enter the field code braces.



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
Can you create a multi-layered merge where certain merge fields a. mileszat Mailmerge 3 January 18th 05 03:46 AM
Empty Mail Merge Fields Meggan Microsoft Word Help 0 January 13th 05 12:43 AM
Merge Fields in Header? Joseph N. Mailmerge 4 December 14th 04 10:23 AM
Merge Fields, Headers, Etc. Joseph N. Mailmerge 3 December 11th 04 12:09 AM
Using MAILMERGE fields within HYPERLINK fields for Merge to Email Mark V Mailmerge 2 December 4th 04 04:01 PM


All times are GMT +1. The time now is 01:02 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"