Email to More Than One Recipients

Ant Sully

New Member
Joined
May 29, 2012
Messages
1
I have an Excel Workbook which is an activity report that is generated each month,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
Once the report has been auto generated, I have it so it asks to send an email<o:p></o:p>
Form the code below, <o:p></o:p>
Private Sub Email ()<o:p></o:p>
Ans = MsgBox("Send Report Via Email", vbExclamation + vbYesNo, "Email")<o:p></o:p>
If Ans = vbYes Then<o:p></o:p>
ActiveWorkbook.SendMail _<o:p></o:p>
Recipients:="email address", _<o:p></o:p>
Subject:="Servicing Activity" & Format(Date, "dd/mm/yy")<o:p></o:p>
Else<o:p></o:p>
End If<o:p></o:p>
End Sub<o:p></o:p>
But what I want to do is be able to send this to either 1 person or sometimes more one recipients.<o:p></o:p>
Was going to use user form with OptionButtons with about 5 individual recipients and one option button called All so will send the workbook to all,<o:p></o:p>
But need some help as struggling to find code to do this,<o:p></o:p>
any help with this would be appreciated :rolleyes:<o:p></o:p>
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,215,162
Messages
6,123,382
Members
449,097
Latest member
Jabe

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top