Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / February 2005

Tip: Looking for answers? Try searching our database.

Conditionally Hide Merge Fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin L - 07 Feb 2005 14:45 GMT
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?
Greg - 07 Feb 2005 14:59 GMT
{IF {PAGE} = "1"{Your MergeFiedl}""}

Use CTRL+F9 to enter the field code braces.
Kevin L - 07 Feb 2005 16:26 GMT
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)

> {IF {PAGE} = "1"{Your MergeFiedl}""}
>
> Use CTRL+F9 to enter the field code braces.
Kevin L - 07 Feb 2005 17:12 GMT
Hi Greg,
This seems to work on my Main Document but not on the MERGED Document.

> Hi Greg,
> I must be doing something wrong:
[quoted text clipped - 9 lines]
>>
>> Use CTRL+F9 to enter the field code braces.
Greg Maxey - 07 Feb 2005 21:06 GMT
Kevin,

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

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

Signature

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

> Hi Greg,
> This seems to work on my Main Document but not on the MERGED Document.
[quoted text clipped - 12 lines]
>>>
>>> Use CTRL+F9 to enter the field code braces.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.