If InStr(1, Item.Body, "attach", vbTextCompare) > 0 ThenĪnswer = MsgBox("There's no attachment, send anyway?", vbYesNo) Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) If it finds the word "attach" in the message body, it triggers a warning dialog. The following macro needs to go in ThisOutlookSession and runs when the message is sent. When you use Outlook 2010 and older, you need to use VBA or an add-in to warn about missing attachments. The option to warn before sending a message that may be missing an attachment is in the Send Messages section about halfway down. If you change your mind, you can turn it back on in File, Options, Mail. If you don't want the warning, you can disable it by checking the "Do not show. An attachment warning feature is built into Outlook, beginning with Outlook 2013.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |