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 / July 2005

Tip: Looking for answers? Try searching our database.

Getting mail merge data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Phuff - 27 Jul 2005 19:39 GMT
I have a program that acts as an interim print driver, where you select it as
your printer, it generates a pdf and then my program that is running catches
the event to get the file and send it to our server.  I need to have address
information to know where to send the document, which is gathered through an
options window that pops up.  If someone wants to mail merge in Word ,
though, I don't know how to get the address data fom the file.

Is there a windows message that is thrown which I can catch and strip the
data from the file?  Or is there some other way to get the data from the used
data source so I can file my own array and pass the document on to the server
with the correct addresses?

Thanks,

Paul

pc.huff@gmail.com
Peter Jamieson - 27 Jul 2005 21:19 GMT
I'm not aware of any Windows message that would help, other than any which
might be generated already as a consequence of manipulating the data source
fle, printing, saving a new Word document, etc. But I haven't worked at that
level for a long time.

One thing you can do in Word (2002/2003) is use MailMerge events to trap
some Merge events.

I have to say it isn't completely clear what you want to happen in the case
of a MailMerge given that a normal merge to /printer/ always prints as a
single job, not as a sequence of separate jobs, and why you would expect to
find recipient information in the data source.

Peter Jamieson

>I have a program that acts as an interim print driver, where you select it
>as
[quoted text clipped - 19 lines]
>
> pc.huff@gmail.com
 
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.