PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Attaching Word Document Using Outlook objects

Reply

Attaching Word Document Using Outlook objects

 
Thread Tools Rate Thread
Old 03-07-2003, 03:28 PM   #1
Joe Shapiro
Guest
 
Posts: n/a
Default Attaching Word Document Using Outlook objects



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.


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off