vuppelschoten
New Member
- Joined
- Aug 22, 2011
- Messages
- 1
Hello
I am trying to create a Macro in Excel that will allow me to send a workbook to a predefined e-mail address and with a subject I specify. For example:
Application.Dialogs(xlDialogSendMail).Show "123@abc.com", "hello"
Problem I have is that it opens the e-mail window, adds the workbook, e-mail address and the subject, but it doesn't automatically send it. The Dialogue box remains open but I need to manually press the send button (Outlook 2010). Is there any way to automate this?
Thanks
Vincent
I am trying to create a Macro in Excel that will allow me to send a workbook to a predefined e-mail address and with a subject I specify. For example:
Application.Dialogs(xlDialogSendMail).Show "123@abc.com", "hello"
Problem I have is that it opens the e-mail window, adds the workbook, e-mail address and the subject, but it doesn't automatically send it. The Dialogue box remains open but I need to manually press the send button (Outlook 2010). Is there any way to automate this?
Thanks
Vincent