I've got a spreadsheet that gets completed and sent to a group of people on the click of a button, which is
Sub Mail_workbook()
ActiveWorkbook.SendMail "xxx_xxxxx@xxxxx.co.uk", _
"Daily Absence Log" & " " & Now()
End Sub
Nice an simple and does the job!
Is there a way of changing this so the spreadsheet gets sent as a preview rather than an attachment (we use Microsoft outlook if that matters)
Also, I've gone through a few of the FAQ's to see if there is a way to stop the warning coming up about "a progamme is trying to send an email automatically on your behalf" but can't get anything to work with the code I'm using.
Any suggestions
Sub Mail_workbook()
ActiveWorkbook.SendMail "xxx_xxxxx@xxxxx.co.uk", _
"Daily Absence Log" & " " & Now()
End Sub
Nice an simple and does the job!
Is there a way of changing this so the spreadsheet gets sent as a preview rather than an attachment (we use Microsoft outlook if that matters)
Also, I've gone through a few of the FAQ's to see if there is a way to stop the warning coming up about "a progamme is trying to send an email automatically on your behalf" but can't get anything to work with the code I'm using.
Any suggestions