Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not an Excel question - where's Outlook Express? ShaneDevenshire Excel Discussion (Misc queries) 2 February 6th 07 07:03 AM
Auto sending workbook or sheet as an attachment using Outlook Wyveryn Excel Discussion (Misc queries) 1 October 4th 06 03:52 AM
Sheet vs File size when sending email in Outlook matchball Excel Discussion (Misc queries) 0 January 4th 06 07:48 PM
How to access Excel forum through Outlook Express Kenny Dee Excel Discussion (Misc queries) 6 December 28th 05 04:37 PM
Adding Excel newsgroup to Outlook Express Kenny Dee New Users to Excel 3 July 19th 05 02:52 AM


All times are GMT +1. The time now is 11:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"