Reply
 
Thread Tools Display Modes
  #1   Report Post  
Michael Weber
 
Posts: n/a
Default Need Help: Using Includepicture to display graphics in mail merges

Here is the situation:

I have an Excel worksheet as the data source and have a Word merge document
to display the information. We have just added some renders of the items and
I would like to add the graphics to the word merge document. I have tried to
use the {includepicture €ś{image}€ť} command to display the images at the paths
specified in the Excel worksheet but have had no luck in doing so.

The command I am using is: {includepicture €śimage€ť}.

The image field in the Excel sheet has a full path to the filename
(c:\\dir\\file.jpg). Whenever I add this command and attempt a merge it
simply deletes the command in my merge template. I have followed the
instructions in both of the primers that are commonly cited and have finally
hit my frustration level. At this point Im losing time trying to get this
working and would have been better off actually typing the documents by hand
and pasting in the photos. Of course that isnt a scalable solution like that
one I envision and I would like to get this working.

Does anyone have any suggestions?
--
Michael Weber
  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

Did you use Ctrl+F9 to insert the field delimiters { }?

Have you tried doing a Ctrl+a (select all) and then F9 (update fields) on
the document created by executing the merge.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"Michael Weber" wrote in message
...
Here is the situation:

I have an Excel worksheet as the data source and have a Word merge
document
to display the information. We have just added some renders of the items
and
I would like to add the graphics to the word merge document. I have tried
to
use the {includepicture "{image}"} command to display the images at the
paths
specified in the Excel worksheet but have had no luck in doing so.

The command I am using is: {includepicture "image"}.

The image field in the Excel sheet has a full path to the filename
(c:\\dir\\file.jpg). Whenever I add this command and attempt a merge it
simply deletes the command in my merge template. I have followed the
instructions in both of the primers that are commonly cited and have
finally
hit my frustration level. At this point I'm losing time trying to get this
working and would have been better off actually typing the documents by
hand
and pasting in the photos. Of course that isn't a scalable solution like
that
one I envision and I would like to get this working.

Does anyone have any suggestions?
--
Michael Weber



  #3   Report Post  
macropod
 
Posts: n/a
Default

Hi Michael,

The correct syntax would be:
{INCLUDEPICTURE "{MAILMERGE ImageName}"}
where the field braces (i.e. '{ }') are created in pairs via Ctrl-F9 and
ImageName represents the full image path (including the drive), plus the
filename and extension.

If Excel only holds the filename and extension, you'd express the field as:
{INCLUDEPICTURE "C:\\My Documents\\Images\\{MAILMERGE ImageName}"}
or
{INCLUDEPICTURE "C:\\My Documents\\Images\\{MAILMERGE ImageName}.jpg"}
if Excel only holds the filename. Use your own drive and path, of course,
with *double* backslashes as separators (though you can use single forward
slashes instead) and, in the last example, specifying the file type.

Cheers


"Michael Weber" wrote in message
...
Here is the situation:

I have an Excel worksheet as the data source and have a Word merge

document
to display the information. We have just added some renders of the items

and
I would like to add the graphics to the word merge document. I have tried

to
use the {includepicture "{image}"} command to display the images at the

paths
specified in the Excel worksheet but have had no luck in doing so.

The command I am using is: {includepicture "image"}.

The image field in the Excel sheet has a full path to the filename
(c:\\dir\\file.jpg). Whenever I add this command and attempt a merge it
simply deletes the command in my merge template. I have followed the
instructions in both of the primers that are commonly cited and have

finally
hit my frustration level. At this point I'm losing time trying to get this
working and would have been better off actually typing the documents by

hand
and pasting in the photos. Of course that isn't a scalable solution like

that
one I envision and I would like to get this working.

Does anyone have any suggestions?
--
Michael Weber



  #4   Report Post  
Graham Mayor
 
Posts: n/a
Default

See http://www.gmayor.com/mail_merge_graphics.htm which explains how to do
this.

--

Graham Mayor - Word MVP

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




Michael Weber wrote:
Here is the situation:

I have an Excel worksheet as the data source and have a Word merge
document to display the information. We have just added some renders
of the items and I would like to add the graphics to the word merge
document. I have tried to use the {includepicture "{image}"} command
to display the images at the paths specified in the Excel worksheet
but have had no luck in doing so.

The command I am using is: {includepicture "image"}.

The image field in the Excel sheet has a full path to the filename
(c:\\dir\\file.jpg). Whenever I add this command and attempt a merge
it simply deletes the command in my merge template. I have followed
the instructions in both of the primers that are commonly cited and
have finally hit my frustration level. At this point I'm losing time
trying to get this working and would have been better off actually
typing the documents by hand and pasting in the photos. Of course
that isn't a scalable solution like that one I envision and I would
like to get this working.

Does anyone have any suggestions?



  #5   Report Post  
Graham Mayor
 
Posts: n/a
Default

Mailmerge? You mean Mergefield

--

Graham Mayor - Word MVP

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




macropod wrote:
Hi Michael,

The correct syntax would be:
{INCLUDEPICTURE "{MAILMERGE ImageName}"}
where the field braces (i.e. '{ }') are created in pairs via Ctrl-F9
and ImageName represents the full image path (including the drive),
plus the filename and extension.

If Excel only holds the filename and extension, you'd express the
field as: {INCLUDEPICTURE "C:\\My Documents\\Images\\{MAILMERGE
ImageName}"}
or
{INCLUDEPICTURE "C:\\My Documents\\Images\\{MAILMERGE ImageName}.jpg"}
if Excel only holds the filename. Use your own drive and path, of
course, with *double* backslashes as separators (though you can use
single forward slashes instead) and, in the last example, specifying
the file type.

Cheers


"Michael Weber" wrote in
message ...
Here is the situation:

I have an Excel worksheet as the data source and have a Word merge
document to display the information. We have just added some renders
of the items and I would like to add the graphics to the word merge
document. I have tried to use the {includepicture "{image}"} command
to display the images at the paths specified in the Excel worksheet
but have had no luck in doing so.

The command I am using is: {includepicture "image"}.

The image field in the Excel sheet has a full path to the
filename (c:\\dir\\file.jpg). Whenever I add this command and
attempt a merge it simply deletes the command in my merge template.
I have followed the instructions in both of the primers that are
commonly cited and have finally hit my frustration level. At this
point I'm losing time trying to get this working and would have been
better off actually typing the documents by hand and pasting in the
photos. Of course that isn't a scalable solution like that one I
envision and I would like to get this working.

Does anyone have any suggestions?
--
Michael Weber





  #6   Report Post  
Michael Weber
 
Posts: n/a
Default


Thanks for the help. I did follow the instructions at the site prior to
posting a note here. It appears my problem stems from the use of a test box
to display the image in. Once I formatted the document to not use a test box
for the image location I was able to get it working just fine.

Does anyone have advice on how to get this working inside a text box so I
can have finer control of the location of the graphic?

Thanks again!

--
Michael Weber


"Graham Mayor" wrote:

See http://www.gmayor.com/mail_merge_graphics.htm which explains how to do
this.

--

Graham Mayor - Word MVP

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




Michael Weber wrote:
Here is the situation:

I have an Excel worksheet as the data source and have a Word merge
document to display the information. We have just added some renders
of the items and I would like to add the graphics to the word merge
document. I have tried to use the {includepicture "{image}"} command
to display the images at the paths specified in the Excel worksheet
but have had no luck in doing so.

The command I am using is: {includepicture "image"}.

The image field in the Excel sheet has a full path to the filename
(c:\\dir\\file.jpg). Whenever I add this command and attempt a merge
it simply deletes the command in my merge template. I have followed
the instructions in both of the primers that are commonly cited and
have finally hit my frustration level. At this point I'm losing time
trying to get this working and would have been better off actually
typing the documents by hand and pasting in the photos. Of course
that isn't a scalable solution like that one I envision and I would
like to get this working.

Does anyone have any suggestions?




  #7   Report Post  
Graham Mayor
 
Posts: n/a
Default

Use a table cell instead. Text boxes are not in the text plane of the
document and so fields they contain are problematical.

--

Graham Mayor - Word MVP

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




Michael Weber wrote:
Thanks for the help. I did follow the instructions at the site prior
to posting a note here. It appears my problem stems from the use of a
test box to display the image in. Once I formatted the document to
not use a test box for the image location I was able to get it
working just fine.

Does anyone have advice on how to get this working inside a text box
so I can have finer control of the location of the graphic?

Thanks again!


See http://www.gmayor.com/mail_merge_graphics.htm which explains how
to do this.

--

Graham Mayor - Word MVP

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




Michael Weber wrote:
Here is the situation:

I have an Excel worksheet as the data source and have a Word merge
document to display the information. We have just added some renders
of the items and I would like to add the graphics to the word merge
document. I have tried to use the {includepicture "{image}"} command
to display the images at the paths specified in the Excel worksheet
but have had no luck in doing so.

The command I am using is: {includepicture "image"}.

The image field in the Excel sheet has a full path to the
filename (c:\\dir\\file.jpg). Whenever I add this command and
attempt a merge it simply deletes the command in my merge template.
I have followed the instructions in both of the primers that are
commonly cited and have finally hit my frustration level. At this
point I'm losing time trying to get this working and would have
been better off actually typing the documents by hand and pasting
in the photos. Of course that isn't a scalable solution like that
one I envision and I would like to get this working.

Does anyone have any suggestions?



  #8   Report Post  
macropod
 
Posts: n/a
Default

touché!

"Graham Mayor" wrote in message
...
Mailmerge? You mean Mergefield

--

Graham Mayor - Word MVP

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




macropod wrote:
Hi Michael,

The correct syntax would be:
{INCLUDEPICTURE "{MAILMERGE ImageName}"}
where the field braces (i.e. '{ }') are created in pairs via Ctrl-F9
and ImageName represents the full image path (including the drive),
plus the filename and extension.

If Excel only holds the filename and extension, you'd express the
field as: {INCLUDEPICTURE "C:\\My Documents\\Images\\{MAILMERGE
ImageName}"}
or
{INCLUDEPICTURE "C:\\My Documents\\Images\\{MAILMERGE ImageName}.jpg"}
if Excel only holds the filename. Use your own drive and path, of
course, with *double* backslashes as separators (though you can use
single forward slashes instead) and, in the last example, specifying
the file type.

Cheers


"Michael Weber" wrote in
message ...
Here is the situation:

I have an Excel worksheet as the data source and have a Word merge
document to display the information. We have just added some renders
of the items and I would like to add the graphics to the word merge
document. I have tried to use the {includepicture "{image}"} command
to display the images at the paths specified in the Excel worksheet
but have had no luck in doing so.

The command I am using is: {includepicture "image"}.

The image field in the Excel sheet has a full path to the
filename (c:\\dir\\file.jpg). Whenever I add this command and
attempt a merge it simply deletes the command in my merge template.
I have followed the instructions in both of the primers that are
commonly cited and have finally hit my frustration level. At this
point I'm losing time trying to get this working and would have been
better off actually typing the documents by hand and pasting in the
photos. Of course that isn't a scalable solution like that one I
envision and I would like to get this working.

Does anyone have any suggestions?
--
Michael Weber





  #9   Report Post  
Michael Weber
 
Posts: n/a
Default


Tables worked like a charm. Thanks!

--
Michael Weber


"Graham Mayor" wrote:

Use a table cell instead. Text boxes are not in the text plane of the
document and so fields they contain are problematical.

--

Graham Mayor - Word MVP

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




Michael Weber wrote:
Thanks for the help. I did follow the instructions at the site prior
to posting a note here. It appears my problem stems from the use of a
test box to display the image in. Once I formatted the document to
not use a test box for the image location I was able to get it
working just fine.

Does anyone have advice on how to get this working inside a text box
so I can have finer control of the location of the graphic?

Thanks again!


See http://www.gmayor.com/mail_merge_graphics.htm which explains how
to do this.

--

Graham Mayor - Word MVP

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




Michael Weber wrote:
Here is the situation:

I have an Excel worksheet as the data source and have a Word merge
document to display the information. We have just added some renders
of the items and I would like to add the graphics to the word merge
document. I have tried to use the {includepicture "{image}"} command
to display the images at the paths specified in the Excel worksheet
but have had no luck in doing so.

The command I am using is: {includepicture "image"}.

The image field in the Excel sheet has a full path to the
filename (c:\\dir\\file.jpg). Whenever I add this command and
attempt a merge it simply deletes the command in my merge template.
I have followed the instructions in both of the primers that are
commonly cited and have finally hit my frustration level. At this
point I'm losing time trying to get this working and would have
been better off actually typing the documents by hand and pasting
in the photos. Of course that isn't a scalable solution like that
one I envision and I would like to get this working.

Does anyone have any suggestions?




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
Graphic display in word Dana L Microsoft Word Help 6 March 27th 05 10:51 PM
Nested IncludePicture troubles in header table Birgit Page Layout 7 March 1st 05 08:20 AM
WORD 2002 will not display ASPX clip files. LOUISE Microsoft Word Help 1 January 11th 05 07:58 PM
Different graphic for each record Alex St-Pierre Mailmerge 1 November 30th 04 01:06 AM
Unchecking 'different first page' in header removes graphic from first page Denise Page Layout 4 November 26th 04 11:36 AM


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