pangerankodok
Programmer
Hi All,
I tried to send excel workbook automatically using Macro, and here is the syntax:
Sub email()
ActiveWorkbook.SendMail "someone@yahoo.com", Range("subject"
.Value
End Sub
what I want is that user click the button, and the workbook automatically sent to someone@yahoo.com with subject and message body taken from the workbook.
Is there any way to include message body using this methode? (SendMail)
I also tried some API Code from this forum to send email, but it won't attached the excel workbook and send it automatically.
Appreciated your helps,
TIA,
I tried to send excel workbook automatically using Macro, and here is the syntax:
Sub email()
ActiveWorkbook.SendMail "someone@yahoo.com", Range("subject"
End Sub
what I want is that user click the button, and the workbook automatically sent to someone@yahoo.com with subject and message body taken from the workbook.
Is there any way to include message body using this methode? (SendMail)
I also tried some API Code from this forum to send email, but it won't attached the excel workbook and send it automatically.
Appreciated your helps,
TIA,