Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
jchappelle jchappelle is offline
external usenet poster
 
Posts: 2
Default How can I execute a mail merge document with different pictures

I am using an Access query as the data file for a mail merge. One of the
fields is the file name of a picture I want included in the mail merge. Have
tried "includepicture" but cannot make it work.
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default How can I execute a mail merge document with different pictures

Does your field contain the file name, or the complete path name?

If it only contains the file name, you need to prepend the path name in your
INCLUDEPICTURE field, e.g.

{ INCLUDEPICTURE "c:\\mypictures\\{ MERGEFIELD mypicturefilename }" }

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

If your field contains the full path name, make sure there are no spaces
before or after the path name in your field, e.g.
use { INCLUDEPICTURE "{ MERGEFIELD mypicturepathname }" }
not { INCLUDEPICTURE " { MERGEFIELD mypicturepathname }" }

If you are merging to a new document, after the merge, select the output
document (e.g. use control-A) and press F9 to refresh all the fields in it.
Do the pictures display corectly?)

Consider
a. checking Word Tools|Option|Print|Update Links, Word
Tools|Option|Print|Update Fields
b. unchecking Word Tools|Options|General|Web options|Files|Update links on
save

Peter Jamieson
"jchappelle" wrote in message
...
I am using an Access query as the data file for a mail merge. One of the
fields is the file name of a picture I want included in the mail merge.
Have
tried "includepicture" but cannot make it work.



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
jchappelle jchappelle is offline
external usenet poster
 
Posts: 2
Default How can I execute a mail merge document with different picture

Peter
Thanks for your response.

The field contains the path name. When I tried the {INCLUDEPICTURE
"{MERGEFIELD mypicturepathname }" } it did not work. I could not get the
ctl-F9 to give me the special field code braces. I am assuming the only
change I should make to the above is to substitute my field name for the
mypicturepathname you used in the example. Is that correct? Refreshing with
F9 did not make a difference.

What am I doing wrong?

"Peter Jamieson" wrote:

Does your field contain the file name, or the complete path name?

If it only contains the file name, you need to prepend the path name in your
INCLUDEPICTURE field, e.g.

{ INCLUDEPICTURE "c:\\mypictures\\{ MERGEFIELD mypicturefilename }" }

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

If your field contains the full path name, make sure there are no spaces
before or after the path name in your field, e.g.
use { INCLUDEPICTURE "{ MERGEFIELD mypicturepathname }" }
not { INCLUDEPICTURE " { MERGEFIELD mypicturepathname }" }

If you are merging to a new document, after the merge, select the output
document (e.g. use control-A) and press F9 to refresh all the fields in it.
Do the pictures display corectly?)

Consider
a. checking Word Tools|Option|Print|Update Links, Word
Tools|Option|Print|Update Fields
b. unchecking Word Tools|Options|General|Web options|Files|Update links on
save

Peter Jamieson
"jchappelle" wrote in message
...
I am using an Access query as the data file for a mail merge. One of the
fields is the file name of a picture I want included in the mail merge.
Have
tried "includepicture" but cannot make it work.




  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default How can I execute a mail merge document with different picture

The usual reason for not being able to add CTRL+F9 field boundaries to an
existing field is that you are in overtype mode (press INS once and see if
that effects an improvement.).

The path on a merge document needs to have either double backslashes or
single forward slashes. Single back slashes will not work. Either edit the
data file to replace the path slashes with single forward or double back
slashes or get rid of the path altogether (if the paths are all the same)
and insert the path manually into the field. (And don't forget the slash
between the path and the filename. What you are aiming for is something
like:

"D:/My Documents/My Pictures/filename.jpg"
or
"D:\\My Documents\\My Pictures\\filename.jpg"

Merge to a new document then CTRL+A and F9

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


jchappelle wrote:
Peter
Thanks for your response.

The field contains the path name. When I tried the {INCLUDEPICTURE
"{MERGEFIELD mypicturepathname }" } it did not work. I could not get
the ctl-F9 to give me the special field code braces. I am assuming
the only change I should make to the above is to substitute my field
name for the mypicturepathname you used in the example. Is that
correct? Refreshing with F9 did not make a difference.

What am I doing wrong?

"Peter Jamieson" wrote:

Does your field contain the file name, or the complete path name?

If it only contains the file name, you need to prepend the path name
in your INCLUDEPICTURE field, e.g.

{ INCLUDEPICTURE "c:\\mypictures\\{ MERGEFIELD mypicturefilename }" }

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

If your field contains the full path name, make sure there are no
spaces before or after the path name in your field, e.g.
use { INCLUDEPICTURE "{ MERGEFIELD mypicturepathname }" }
not { INCLUDEPICTURE " { MERGEFIELD mypicturepathname }" }

If you are merging to a new document, after the merge, select the
output document (e.g. use control-A) and press F9 to refresh all the
fields in it. Do the pictures display corectly?)

Consider
a. checking Word Tools|Option|Print|Update Links, Word
Tools|Option|Print|Update Fields
b. unchecking Word Tools|Options|General|Web options|Files|Update
links on save

Peter Jamieson
"jchappelle" wrote in message
...
I am using an Access query as the data file for a mail merge. One
of the fields is the file name of a picture I want included in the
mail merge. Have
tried "includepicture" but cannot make it work.



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
mail merging formatted content donna Mailmerge 18 July 28th 06 06:20 PM
How to get all mail merge fields in a document [email protected] Mailmerge 3 February 17th 06 05:43 AM
Saving mail merge document problem! Jo416 Mailmerge 3 February 16th 06 01:56 PM
Mail Merge Errors1 document created after merge Ron Mailmerge 1 June 10th 05 08:37 AM
How do I mail merge when only merge document is shown in tools? DaveAS Microsoft Word Help 2 December 1st 04 03:45 PM


All times are GMT +1. The time now is 06:56 PM.

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"