Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
sending an excel sheet via outlook express
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 = " .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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
sending an excel sheet via outlook express
See if you can find your answer he
Ron de Bruin's site http://www.rondebruin.nl/sendmail.htm http://www.rondebruin.nl/index.html Dick Kusileka's site http://www.dicks-clicks.com -- Regards, Tom Ogilvy Alberto wrote in message om... 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 = " .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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Not an Excel question - where's Outlook Express? | Excel Discussion (Misc queries) | |||
Auto sending workbook or sheet as an attachment using Outlook | Excel Discussion (Misc queries) | |||
Sheet vs File size when sending email in Outlook | Excel Discussion (Misc queries) | |||
How to access Excel forum through Outlook Express | Excel Discussion (Misc queries) | |||
Adding Excel newsgroup to Outlook Express | New Users to Excel |