Here it is
You can't with SendObject.
If you use Outlook (not Outlook Express), then it can be done like below:
Sub SendAttachedFile(FileNameAndPath$, AttachDescr$, ToAdds$, CCAdds$, BCCAdds$, SubjectLine$, MsgBody$)
Dim myOlApp, MyItem, MyAttachments
Set myOlApp = CreateObject("Outlook.Application"

Set myItem=myOlApp.CreateItem(olMailItem)
With myItem
.To = ToAdds
.CC = CCAdds
.BCC = BCCAdds
.Subject = SubjectLine
.Body = MsgBody
.Attachments.Add FileNameAndPath, olByValue, 1, AttachDescr
.Display 'this will display the result
.Send 'this will place the message immediately to Outbox
End With
set myItem = Nothing
MyOlApp.Close
Set myOlApp = Nothing
End Sub
All procedure arguments should be provided by text boxes on your form.
The procedure can be called from a command button:
Private YourButton_Click()
'whatever code you want to execute before sending the mail
Call SendAttachedFile(Me("FileTextBox"

, Me("FileDescription"

, Me("ToAddresses"

, Me("CCAddresses"

, Me("BCCAddresses"

, Me("Subject"

, Me("Body"

)
End Sub
HTH
Daniel Vlas
Systems Consultant
danvlas@yahoo.com
Neil Berryman
IT Trainer
neil_berryman@btopenworld.com