sending an excel sheet via outlook express

A

Alberto

I Usually use this portion of code to send an automated response using
outlook express:
Sub Send_Msg()
Dim objOL As New Outlook.Application
Dim objMail As MailItem
Set objOL = New Outlook.Application
Set objMail = objOL.CreateItem(olMailItem)
With objMail
.To = "(e-mail address removed)"
.Subject = "Automated Mail Response"
.Body = "This is an automated message from Excel. "
.Display
End With
Set objMail = Nothing
Set objOL = Nothing
End Sub

The question is:
How can integrate this code in order to:

1) send inside the body a cell interval content
2) send inside the body an entire sheet
3) attach to the message the specific sheet

Thanks, Alberto
 

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