So i am using this code to send some reports exported from ms access, however i want to have a message box appear if the attachments are not added how do i do that ?
With OutMail
.Display
.To = ""
.CC = ""
.BCC = ""
.Subject = ""
.HTMLBody = strbody & "<br>" & .HTMLBody
.Attachments.Add "file location her"
.Send
With OutMail
.Display
.To = ""
.CC = ""
.BCC = ""
.Subject = ""
.HTMLBody = strbody & "<br>" & .HTMLBody
.Attachments.Add "file location her"
.Send