Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default sending two sheets on one e-mail

Hi there, i'm trying to send via a single e-mail, two worksheets (1 and 3) to a specific e-mail.

Currently i'm using a code that sends only one sheet per e-mail.

Can you help me?

What I have right now is:

Sub emailalge()


ThisWorkbook.Sheets(3).Copy


With ActiveWorkbook
.SendMail
Subject:="e-mail " & Format(Date, "dd/mmm/yy")
.Close SaveChanges:=False
End With

End Sub


thanks!
  #2   Report Post  
Junior Member
 
Posts: 19
Default

Quote:
Originally Posted by felpslima View Post
Hi there, i'm trying to send via a single e-mail, two worksheets (1 and 3) to a specific e-mail.

Currently i'm using a code that sends only one sheet per e-mail.

Can you help me?

What I have right now is:

Sub emailalge()


ThisWorkbook.Sheets(3).Copy


With ActiveWorkbook
.SendMail
Subject:="e-mail " & Format(Date, "dd/mmm/yy")
.Close SaveChanges:=False
End With

End Sub


thanks!
Hi, you could try creating a new book with those two sheets, then send the new book as an attachment

Educo
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
Error when sending mail with CDO Amedee Van Gasse Excel Discussion (Misc queries) 5 November 28th 08 01:51 PM
Sending a blank e-mail Hawksby Excel Discussion (Misc queries) 1 September 25th 07 09:16 AM
Sending E-Mail by code ASU Excel Discussion (Misc queries) 2 June 13th 06 01:17 PM
General mail failure when sending e-mail from Excel Adrienne Excel Discussion (Misc queries) 5 November 4th 05 12:59 PM
Sending E-mail litew_8 Excel Worksheet Functions 1 November 21st 04 06:13 AM


All times are GMT +1. The time now is 04:09 PM.

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"