Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 98
Default Adding a BCC and a second recipient to E-Mail Commands

Hi

I am using the following code (this is a snippett) to e mail a file automatically to
someone:

'set up spreadsheet with data

Dim wb As Workbook
Dim strdate As String
strdate = Format(Now, "dd-mm-yy h-mm-ss")
Application.ScreenUpdating = False
ActiveSheet.Copy
Set wb = ActiveWorkbook
With wb
.SaveAs "Part of " & file
.SendMail ", _
etitle
.ChangeFileAccess xlReadOnly
Kill .FullName
.Close False
End With
' Run ("mailmessage")
Sheets("input").Select
Application.ScreenUpdating = True


I would like to add a second recippient and a BCC (or CC), so that there are three e mail
addreses receiving it.

Can somene tell me the exact code to accomplish this please?

Thank you very much.

Regards

John Baker
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
Set Up Mail Recipient Automatically SteveT Excel Discussion (Misc queries) 1 January 10th 09 10:08 PM
Mail Merge recipient CLH Excel Discussion (Misc queries) 0 October 25th 06 05:40 PM
Send To - E-mail Recipient Polyprod Setting up and Configuration of Excel 2 March 23rd 06 08:56 AM
the option "sent to" mail recipient is not available in excel 200 Ngozi Excel Discussion (Misc queries) 1 August 23rd 05 02:50 PM
mail recipient button Brian Mashburn Excel Worksheet Functions 0 January 27th 05 08:15 PM


All times are GMT +1. The time now is 11:03 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"