pdf.files

E

Elly

When browsing through all our products, I want to be able to open a
previously created pdf.file with a photo and description of the product to
view and to attach to an email that will go to the customer. How can I do
this?
 
L

Line Riendeau

Hi,

The routin is:

Dim objEMail As Object
Dim iBP

Set objEMail = CreateObject("CDO.Message")
With objEMail
.From = "(e-mail address removed)"
.To = "(e-mail address removed)"
.Subject = "test de pièce jointe"
.TextBody = "test"
Set iBP = objEMail.AddAttachment("c:\tempo\nom du fichier.pdft")
.send
End With
Next cellule
Set objEMail = Nothing
Set iBP = Nothing
 

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