![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Location: India
Posts: 10
|
I need a macro which can mail the sheet as attachment. I am Not Haveing OutlookExpress. But i have SMTP server.
[ This Message was edited by: asramasarma on 2002-05-03 04:05 ] [ This Message was edited by: asramasarma on 2002-05-03 04:26 ] |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Where the wild roses grow
Posts: 285
|
Clicking on File>Send To>Mail Recipient does this. Could you not use this, or does it have to be a macro? |
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Location: India
Posts: 10
|
I am not having Outllok Express. But in My company We are hvaing SMTP server.
[ This Message was edited by: asramasarma on 2002-05-03 04:09 ] |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Location: Manchester, UK
Posts: 95
|
This one works for me, but I'm using Outlook.
Sub send_mail() ActiveSheet.Copy ActiveWorkbook.SendMail "email@address.com", "Title" ActiveWorkbook.Close False End Sub |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|