Want to modify my macro to send a screen shot as part of the body of the email. The screen shot is on a different tab than the input for To, Subject and Body in the VBA code. Would like to be able to adjust the range for the screen shot since it changes frequently. Thanks for your asisstance.
Sub send_email()
Dim OutApp As Object
Dim Outmail As Object
Set OutApp = CreateObject("Outlook.Application")
Set Outmail = OutApp.CreateItem(0)
With Outmail
.To = Range("C3").Value
.Subject = Range("C5").Value
.Body = Application.WorksheetFunction.TextJoin(vbNewLine, True, Range("C7:C13").Value)
.display
End With
Set Outmail = Nothing
Set OutApp = Nothing
End Sub
Sub send_email()
Dim OutApp As Object
Dim Outmail As Object
Set OutApp = CreateObject("Outlook.Application")
Set Outmail = OutApp.CreateItem(0)
With Outmail
.To = Range("C3").Value
.Subject = Range("C5").Value
.Body = Application.WorksheetFunction.TextJoin(vbNewLine, True, Range("C7:C13").Value)
.display
End With
Set Outmail = Nothing
Set OutApp = Nothing
End Sub