Set objMailItem = Item 'Set object to mail item just sent Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)ĭim nxtMonday As String 'Variable containing next Monday's dateĭim objMailItem As MailItem 'Object to hold mail item Thanks in advance for any assistance you con provide! Regards.Steve I would be very grateful if someone could tell how to change the code to add this feature. I'm not a programmer and know just enough to copy and paste the code into the VBA window. I don't want it any more complex than I could answer with one simple key stroke. I would love this if when I sent a email after hours a simple pop-up window opened and asked if I wanted to delay delivery. The only problem is that, sometime I do want an email to go out immediately and it doesn't seem like there is an easy way to override the macro. It is just what I was looking for as I send a lot of business mail in the evenings and weekends and I don't want the mail to interrupt my coworkers off-time. I found the below code online that delays delivery to the next business day automatically if sent at night or over the weekend.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |