email an attachment

J

judith

I want to use the sendObject command to send emails to recipients defined by
a query. Is there any way to prompt for an attachment so that the user can
navigate to find a word document to be attached.

thanks
 
L

Line Riendeau

Hi,

the codification is:
PieceJointe = Application.GetOpenFilename
If PieceJointe <> False Then
.AddAttachment (PieceJointe)
End If
 

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