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 / General MS Word Questions / November 2007

Tip: Looking for answers? Try searching our database.

Mailmerge - how to include a linked document?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stube - 29 Nov 2007 15:42 GMT
I've set up a mailmerge using an Excel spreadsheet as data source. For some
of the addressees, I want to include a separate Word document in the
mailmerged output e.g.
Addressee 1 - Print Standard letter + Doc XYZ
Addressee 2 - Print Standard letter + Doc ABC
etc

I could include a link in the XL file pointing to the separate document, but
how do I tell the mailmerge to open that link and print the Word doc?

Using Word & Excel 2000, by the way.
Doug Robbins - Word MVP - 29 Nov 2007 19:17 GMT
In the Excel data source, include a column called (e.g.) Flag and in that
column, enter a 1 for those records for which you want the additional file
included.  Then in the mail merge main document, at the location where you
want the file to be appear, insert the following field construction:

{ IF { MERGEFIELD Flag } = 1 { INCLUDETEXT
"DriveLetter:\\Path\\Filename.doc" } "" }

You must use Ctrl+F9 to insert each pair for the field delimiters { } and
Alt + F9 to toggle off their display.

If executing the merge to a new document, you may need to press Ctrl+A to
select everything and then press F9 to update the fields in the document to
get the file to appear.

Signature

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

> I've set up a mailmerge using an Excel spreadsheet as data source. For
> some
[quoted text clipped - 9 lines]
>
> Using Word & Excel 2000, by the way.
Stube - 29 Nov 2007 23:57 GMT
That'll do nicely! Many thanks.

> In the Excel data source, include a column called (e.g.) Flag and in that
> column, enter a 1 for those records for which you want the additional file
[quoted text clipped - 24 lines]
> >
> > Using Word & Excel 2000, by the way.
 
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.