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 / November 2003

Tip: Looking for answers? Try searching our database.

Conditionally showing or hiding a picture

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy Pelkey - 17 Nov 2003 18:10 GMT
I am trying to perform a mail merge where people who are
CC'd in the letter receive a copy of the letter with the
word "COPY" appearing in the background of each page (as a
watermark).  I know how to insert a picture (with the
image of the word "copy" in it) into the header (so it
appears on each page) and make it look like a watermark.  
The problem I am having is how to show or hide this
picture based on a value of a field in the merge data
file.  Does anyone know how to do this?

Thanks so much!
Peter Jamieson - 18 Nov 2003 08:08 GMT
You /may/ be able to do this if you are outputting to a new document or
printer, but I am much less sure it could be made to work for output to
e-mail. YOu can certainly try the following:
a. you will have to insert the picture using an { INCLUDEPICTURE } field
(you may have this already, but it may not be apparent your picture is
probably not currently formatted as an "in-line" picture
b. you will need to put the INCLUDEPICTURE field in a text box, and format
the text box to be behind the text.
c. you will need to modify the field to test the value in your merge data -
suppose you have

{ INCLUDEPICTURE "c:\\mypictures\\watermark.jpg" }

then you could either try something along the lines of

{ IF { MERGEFIELD copy } = "Y"
"{ INCLUDEPICTURE "c:\\mypictures\\watermark.jpg" }"
"" }

or if that doesn't work you could try using a small 1-pixel picture for the
case where you don't need a picture and use something like

{ INCLUDEPICTURE "c:\\mypictures\\{ IF { MERGEFIELD copy } = "Y"
"watermark.jpg" "1pixel.jpg" }" }

where all the {} are the special field code braces you can insert using
ctrl-F9.

Both these approaches seemed to work reasonably well here using Word 2000
and outputting to Acrobat but I could not tell whether the "watermark"
effect was working as you would probably expect, and you really will have to
experiment for yourself on this one.
--
Peter Jamieson
MS Word MVP

> I am trying to perform a mail merge where people who are
> CC'd in the letter receive a copy of the letter with the
[quoted text clipped - 7 lines]
>
> Thanks so much!
andy pelkey - 20 Nov 2003 18:40 GMT
Thank you very much!  I will give it a try.

>-----Original Message-----
>You /may/ be able to do this if you are outputting to a new document or
[quoted text clipped - 46 lines]
>
>.
 
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.