S
Stephen C
I have found some code on Ron de Bruin's web site which enables me to send
the active sheet as an attachment to an email address contained in cell A1.
This works fine but I now require it to be sent to more than one person, if
add a second email address to cell A1 the macro will not work.
Could someone please advise me how to change the following code to enable me
to send to multiple recipients contained in one cell.
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 " & ThisWorkbook.Name _
& " " & strdate & ".xls"
.SendMail (Range("a1")), _
"This is the Subject line"
.ChangeFileAccess xlReadOnly
Kill .FullName
.Close False
End With
Application.ScreenUpdating = True
End Sub
I am using excel 2000 & Outlook Express.
the active sheet as an attachment to an email address contained in cell A1.
This works fine but I now require it to be sent to more than one person, if
add a second email address to cell A1 the macro will not work.
Could someone please advise me how to change the following code to enable me
to send to multiple recipients contained in one cell.
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 " & ThisWorkbook.Name _
& " " & strdate & ".xls"
.SendMail (Range("a1")), _
"This is the Subject line"
.ChangeFileAccess xlReadOnly
Kill .FullName
.Close False
End With
Application.ScreenUpdating = True
End Sub
I am using excel 2000 & Outlook Express.