Send email with attachment Excel: VBA, macros

Send email with attachment Excel: VBA, macros

Excel is not only used for storing, cleaning, and analysing data, but also for automating data-related processes. Automation can be done in Excel by writing or recording macros in VBA. You can even use macros on Outlook to send an email with attachments. This article will show you how to do so.

excel-macro">To send an email with attachments, use the following code:

.SendMail Recipients:=y, Subject:="test" & Format(Date, "dd/mmm/yy")  

Any more excel questions? check out our forum!

Excel