Results 1 to 3 of 3

Email two tabs out of Excel

Threaded View

  1. #1
    Registered User
    Join Date
    03-15-2007
    Posts
    14

    Email two tabs out of Excel

    I currently have the following code below set up which sends out two seperate emails to the same person out of excel. I'm trying to combine this to only send out one email with both tabs:
    Sub Send1Sheet_ActiveWorkbook()
    
    'Create a new Workbook Containing 1 Sheet (left most)_
    
        ThisWorkbook.Sheets(2).Copy
    
           With ActiveWorkbook
    
             .SendMail Recipients:="smellypants@wynit.com", Subject:="Top 250 Skus Dollars " & Format(Date, "dd/mmm/yy")
    
             .Close SaveChanges:=False
    
        End With
    
        
        ThisWorkbook.Sheets(3).Copy
    
           With ActiveWorkbook
    
             .SendMail Recipients:="smellypants@wynit.com", Subject:="Top 250 Skus Qty " & Format(Date, "dd/mmm/yy")
    
             .Close SaveChanges:=False
    
        End With
    
    
    End Sub
    Last edited by shoey72; 06-22-2009 at 08:44 AM. Reason: Added Code Tags

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1