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 / February 2007

Tip: Looking for answers? Try searching our database.

IncludePicture problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
andy.cotgreave@gmail.com - 16 Feb 2007 13:54 GMT
Hi,
I am trying to use includepicture to merge pictures.

This is the field that is not merging correctly:
{ IncludePicture "C:\\otw\\{ MERGEFIELD ProductPhotoReceived }" \d }

When I merge to a new document, and then do Ctrl+A and F9 I get empty
picture objects in the word document.

I have played around with the fields, and have put the following
fields in the merge:

{ IncludePicture "C:\\otw\\bhc.gif" \d }

{ MERGEFIELD ProductPhotoReceived }

{ IncludePicture "C:\\otw\\{ MERGEFIELD ProductPhotoReceived }" \d }

The first correctly shows the bhc.gif picture object. The second
correctly shows bhc.gif (which is the content of the
ProductPhotoReceived field) and yet the third, the combination of the
path and the ProductPhotoReceived field, doesn't work.

Please tell me I am missing something obvious! I've trawled through
the IncludePicture threads on this group, but to no avail! I am using
Office 2003, Windows XP SP2

Cheers,

Andy
Peter Jamieson - 16 Feb 2007 21:56 GMT
First thing |I always check is that the path names you are using with and
without the { MERGEFIELD } are identical - in particular, a space at one end
or the other can cause problems.

But assuming that isn't the problem, have you selected the nested fields and
re-exectuted them with F9? Does a picture appear at all if you preview? Have
you tried checking Word Tools|Options|Print|Update Fields and Update Links?

Peter Jamieson

> Hi,
> I am trying to use includepicture to merge pictures.
[quoted text clipped - 26 lines]
>
> Andy
andy.cotgreave@gmail.com - 19 Feb 2007 09:11 GMT
Hi Peter,
Thanks for the tip - in the end it wasn't either of the problems you
mentioned, but your tip did make me realise what i had done wrong:

Your mention of "nested" fields made me realise that my nested field
wasn't a proper nested field: i had just typed the open and close
curly brackets and put the MERGEFIELD info inside those.

I didn't realise that you have to use Insert...Field or Ctrl+F9 to
force Word to realise it _is_ actually a field....

Ta for your help!

Andy

On Feb 16, 9:56 pm, "Peter Jamieson" <p...@KillmapSpjjnet.demon.co.uk>
wrote:
> First thing |I always check is that the path names you are using with and
> without the { MERGEFIELD } are identical - in particular, a space at one end
[quoted text clipped - 40 lines]
>
> > Andy
 
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.