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 / September 2004

Tip: Looking for answers? Try searching our database.

Cannot mail-merge with images?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robin Tucker - 23 Sep 2004 13:45 GMT
Hi there,

I'm wanting to "mail merge" images from a directory into my document.  I am
currently able to merge all fields *except* the images.

Here is a simplified version (a little test I've been doing).  I have
created a document with a merge field called "thePath" and an
"IncludePicture" field, which has a mergefield as its location (once again
"thePath" ).  Like so:

   { MERGEFIELD thePath }

   { INCLUDEPICTURE "{ MERGEFIELD thePath }" \* MERGEFORMAT }

My data source is a very simple flat file, which looks like this:

   "thePath"
   "C:\\1.jpg"
   "C:\\2.jpg"

, and is saved as "merge.txt".  Of course, I know 1.jpg and 2.jpg exist.

Now, when I select the data source and merge to a new document from the
merge document, I end up with the correct values for { MERGEFIELD thePath },
but "empty" images for the INCLUDEPICTURE field.

What am I doing wrong here?

Also, a related question:  Is it possible to EMBED "{ MERGEFIELD
myOLEObjectFile }"?  This would be extremely useful as I am mail merging not
just images and text, but also a specific kind of OLE object.  It would save
me having to iterate through the document, replacing them manually via.
Automation (which would be amazingly slow).

Thankyou for any tips you can give me on this,

Robin
Robin Tucker - 23 Sep 2004 14:53 GMT
Ok, I think I've found the solution to my problem.  I was "typing" the merge
field into the IncludePicture field, inserting text, rather than "inserting"
a new field.

> Hi there,
>
[quoted text clipped - 37 lines]
>
> Robin

Rate this thread:






 
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.