Results 1 to 7 of 7
  1. #1
    FrankR
    Guest

    Mail Merge with Graphics

    I want to include a graphic in my Mail Merge document, but I want to be able to specify who gets what graphic. All my graphics are in the same folder. So, I created a Merge Field (I called it GraphicFileName), and the records in my data source contain the correct filenames. Now, how do I get the graphics to appear?

  2. #2
    5 Star Lounger
    Join Date
    Dec 2000
    Location
    Tallahassee, Florida, USA
    Posts
    901
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Mail Merge with Graphics

    <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15>That was fun! Thanks for the challenge.

    First, Word's funny about the file names. You will need two backslashes for each one you would normally use. E.G., the picture I use in my signature resides on my computer (according to Word) at C:My DocumentsMy PicturesFunnyEyes.gif. So if necessary, edit your source file.

    Once that's done, in your main document you need to create a link with the mergefield in it. It will look like this (for others following, each set of braces { } are created by keying Ctrl+F9)
    { INCLUDEPICTURE "{ MERGEFIELD Graphic }" * MERGEFORMAT d }.

    It worked in my test on Word2000. Please reply back to let us know if it works for you. Thanks!
    Karen

  3. #3
    FrankR
    Guest

    Re: Mail Merge with Graphics

    Thanks for the reply Karen, but I haven't got it to work. I see what the process is, & I can get the INCLUDEPICTURE and the MERGEFIELD fields to each work separately. But, when I put them together, it brings up the unknown grafic picture. Just to make it more of a challenge, I was hoping to only have to enter the FileName in the data source and not the entire path.

  4. #4
    5 Star Lounger
    Join Date
    Dec 2000
    Location
    Tallahassee, Florida, USA
    Posts
    901
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Mail Merge with Graphics

    <img src=/S/hmmn.gif border=0 alt=hmmn width=15 height=15> My first reply was from home (Win98 / Word 2K). I can recreate at work (Win2K / Word 2K). Just a shot in the dark... select the merge result and "update" the fields (F9). Did it work?

    As to the path, if it's the same in each instance, type the path in the INCLUDEPICTURE field, just before the MERGEFIELD (with no spaces), like: { INCLUDEPICTURE "C:My DocumentsMy Pictures{ MERGEFIELD Graphic }" * MERGEFORMAT d }
    Karen

  5. #5
    FrankR
    Guest

    Re: Mail Merge with Graphics

    Thanks, Karen. It's working now. But it looks like Word does not "update fields" when printing. If I merge my document to printer, the first graphic prints on all pages. So, to get this to work, I need to merge to new document, then select all and update fields. Is there an easier way?

  6. #6
    KTYorke
    Guest

    Re: Mail Merge with Graphics

    I'm not sure what version of Word you're using but in W97 you can choose File/Print and click Options at the bottom of the Print dialog box. Check the Update Fields checkbox and click OK. This should automatically update the fields every time you print.
    hope that's what you were looking for.
    have fun

  7. #7
    FrankR
    Guest

    Re: Mail Merge with Graphics

    Thank you. I had forgotten all about the print options.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •