finaljustice
Board Regular
- Joined
- Oct 6, 2010
- Messages
- 175
Hi,
I've created a code to make a routine and then send an email of the worksheet. The part that is new to me is the sending e-mail using VBA, so I decided to record the action and then adapt to what I need. From what i recorded I basically got this:
"Application.Dialogs(xlDialogSendMail).Show" opens an e-mail message to be sent, requiring manual input of the recipients, I would like to automate even this part so that I can just message a "E-mail was sent" notification.
Could anyone help me in how do I code the adding TO: list and make it send?
Thanks for your attention
final
I've created a code to make a routine and then send an email of the worksheet. The part that is new to me is the sending e-mail using VBA, so I decided to record the action and then adapt to what I need. From what i recorded I basically got this:
Code:
Sub e-mail ()
Sheets(1).Copy
Application.Dialogs(xlDialogSendMail).Show
End Sub
"Application.Dialogs(xlDialogSendMail).Show" opens an e-mail message to be sent, requiring manual input of the recipients, I would like to automate even this part so that I can just message a "E-mail was sent" notification.
Could anyone help me in how do I code the adding TO: list and make it send?
Thanks for your attention
final