I have a report that I would like to send via excel. it will include recipients, subject and body information. in fact, he could copy the corresponding cells. what i have done so far, create a button and assign it a macro with this code:
Private Sub CommandButton1_Click()
Application.Dialogs(xlDialogSendMail).Show arg1:=Sheets("Sheet1").Range("E3"), _
arg2:=Sheets("Sheet1").Range("E7")
End Sub
the problem is that this command sends the workbook as an attachment.
can someone help me with a code that will allow me to do this.
thanks a million!
amuses
source
share