Attaching Word Document Using Outlook objects

J

Joe Shapiro

When attaching word documents using
Outlook.Attachments .Add method then sending the email,
the recipient of the email can not open the attached word
document without getting the messsage 'to merge the
document with word document stored on the Network'.

This is the statement in VB code (in the ACCESS
environment) to attach the word document:

Call objAttachments.Add(cSource, 1, 1)

objAttachments is the Outlook.Attachment object, cSource
is the file to attached, the '1' is the IType, then the
IPosition of '1'.

I am questioning if the IType of '1' is correct?? This is
not a problem with attaching files type of (*.PDF), so I
don't know if the problem might be more related to word
type of files (*.DOC). If I open the saved word docment
on the network (this is the file that is first created
then is attached to the outlook email), I do not get the
merge message.
 

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