M
Myriam
Hi,
I'm trying to attach a document to automatically email to a group of
clients. I'm using the code in Article 318881 and all works great but the
attachment.
I am adding the command in the Debug window:
SendMessages "C:\TestAttachment.txt" and it does not attach it.
What I really need is to be able to retrieve the document typing in the path
in the same form where I'm getting the Subject and Remarks from: Form!frmMail
Where and how do I have to input the path so the following command can
locate it?
If Not IsMissing(AttachmentPath) Then
Set objOutlookAttach =.Attachments.Add(AttachmentPath)
End If
Thank you in advance for any help you can give me.
I'm trying to attach a document to automatically email to a group of
clients. I'm using the code in Article 318881 and all works great but the
attachment.
I am adding the command in the Debug window:
SendMessages "C:\TestAttachment.txt" and it does not attach it.
What I really need is to be able to retrieve the document typing in the path
in the same form where I'm getting the Subject and Remarks from: Form!frmMail
Where and how do I have to input the path so the following command can
locate it?
If Not IsMissing(AttachmentPath) Then
Set objOutlookAttach =.Attachments.Add(AttachmentPath)
End If
Thank you in advance for any help you can give me.