+ Reply to Thread
Results 1 to 3 of 3

Automatic Outlook email to different email addresses when review date is due

  1. #1
    Registered User
    Join Date
    08-03-2020
    Location
    London
    MS-Off Ver
    2013
    Posts
    1

    Automatic Outlook email to different email addresses when review date is due

    Hi All!

    This is my first post and hoping to get some help in developing a macro that will automatically send an email to the relevant email address (column J) when the Review date (column H) is within 7 days.

    The body of the email should be;

    Subject: Document due for review

    "To Name (Column I),

    Document (Column B & Column D) is now due for review.

    Kind Regards"

    Also, the script should put an indicator that the email has been sent, i.e. sent date.

    I'd really appreciate any help.

    TIA!
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Automatic Outlook email to different email addresses when review date is due

    This site tells you everything you could possibly want to know about Excel/Outlook automation using VBA. You'll need a loop to process each row and check the date. If it is due, build the body of the email.

    Sorry, missed the link: https://www.rondebruin.nl/
    Last edited by TMS; 08-11-2020 at 03:32 PM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Automatic Outlook email to different email addresses when review date is due

    @Snow, I took the liberty of rewriting the code in your sample so that when opened, any row within 7 days will have an email generated. Let us know if you have questions.

    In the workbook module:

    Please Login or Register  to view this content.
    In a module I populated the following code:

    Please Login or Register  to view this content.
    I left the code that was in the file untouched.
    Attached Files Attached Files
    Last edited by maniacb; 08-11-2020 at 01:41 PM. Reason: Corrections to response

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macros to email a row with header based on due date and specific email using outlook
    By mscarrie in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-30-2019, 04:48 AM
  2. Send automatic Outlook email based on Due Date
    By WesternPartner64 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-02-2018, 10:11 PM
  3. Automatic outlook email on due date
    By ash2017 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2017, 11:34 PM
  4. Automatic Outlook Email Based on Date in range of Cells HELP!!!!
    By benharley84 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-05-2016, 10:58 PM
  5. Replies: 6
    Last Post: 11-06-2014, 06:12 AM
  6. Replies: 1
    Last Post: 09-09-2013, 03:46 PM
  7. Automatic Email Alerts based on due date in Excel Via Outlook
    By lcmerten in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-24-2011, 03:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1