Attaching Word Document Using Outlook objects

  • Thread starter Thread starter Joe Shapiro
  • Start date Start date
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.
 
Back
Top