INCLUDEPICTURE problems

T

Thompson

Howdy, all:

When I manually code a field like thus:

{IncludePicture "z:\\path name\\folder name\\file.name.bmp"}

The bmp merges easily. But when I code it thusly:

{IncludePicture "z:\\path name\\folder name\\{Mergefield Picname}"}

(where Picname = file.name.bmp) the image does not get merged.

Any help?

Thanks,
Thompson
 
D

Doug Robbins - Word MVP

Have you tried updating the fields in the document (Ctrl+A then F9)?

--
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
 
T

Thompson

Yes, that's always SOP with IncludePicture, yeah?

It updates the manually-coded image, but not the merge-named image. Why is
the embedded-merge picture name not working.

Thompson
 
D

Doug Robbins - Word MVP

I imagine that the two periods in file.name.bmp may be causing a problem

--
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
 
T

Thompson

Doug Robbins - Word MVP said:
I imagine that the two periods in file.name.bmp may be causing a problem

--
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
 
T

Thompson

Hm, my previous reply didn't post.

The multiple "." are perfectly Windows OS legal.

I did some more fooling around, and the solution is actually simple:

{IncludePicture "z:\\\\path name\\\\folder name\\\\{Mergefield Picname}"}

_Quadruple_ backslashes! This produces post-merge code that has
double-backslahes, and that loads the pics just fine.

Thompson
 
M

macropod

Hi Thompson,

There is something odd going on with your mailmerge. What Windows & Word
versions are you running? Also, you might try replacing those '\\\\' with
'/'.

Cheers
 
D

Doug Robbins - Word MVP

Normally only a double \\ is required.

--
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top