victoria2207
New Member
- Joined
- Mar 9, 2018
- Messages
- 17
Good Afternoon, I have tailored the following code to enable me to e-mail a selection in my workbook to specified people at the push of a button:
With ActiveSheet.MailEnvelope
.Introduction = "These are the items Due or Late for Calibration - please review your items and confirm they have been actioned."
.Item.To = "email1@outlook.com;e-mail2@outlook.com"
.Item.Subject = "Calibration Items Due"
.Item.Send
End With
However, the list of e-mail addresses could be different as could the introduction. Is it possible to reference the text within a cell as the Introduction text and a cell which contains the full list of e-mail receipients rather than entering the e-mail addresses/text directly into the VBA code?
TIA
Vic2207
With ActiveSheet.MailEnvelope
.Introduction = "These are the items Due or Late for Calibration - please review your items and confirm they have been actioned."
.Item.To = "email1@outlook.com;e-mail2@outlook.com"
.Item.Subject = "Calibration Items Due"
.Item.Send
End With
However, the list of e-mail addresses could be different as could the introduction. Is it possible to reference the text within a cell as the Introduction text and a cell which contains the full list of e-mail receipients rather than entering the e-mail addresses/text directly into the VBA code?
TIA
Vic2207