+ Reply to Thread
Results 1 to 4 of 4

Excel due date alerts via outlook email

  1. #1
    Registered User
    Join Date
    08-19-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    3

    Excel due date alerts via outlook email

    Hi, is there a macro that can send email alerts via Outlook when a due date is reached or passed on an excel spreadsheet without having to open the actual spreadsheet?

    Please see example of spreadsheet attached
    Attached Files Attached Files
    Last edited by Deborinski; 04-18-2017 at 03:33 AM.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Excel due date alerts via outlook email

    We need a bit more information. How is this file going to be processed? Is this just a single file or are you going to have a whole series of them? Will the due date always be in cell J6? Exactly what do you mean by "without opening the actual spreadsheet?" Do you have Microsoft Outlook? (It may work "cleaner" than a web mailer).

    Here is what I think can be done. You can run a master spreadsheet. It will open the files in the background and get the due date. We'll need help on what you want us to parse out for the salutation. In the example, this appears the be the third element of an array based on a space delimiter - in other words, "OMAR." Can we depend on this?

    You can either run the master program manually or have it kicked off by the windows task scheduler.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    08-19-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    3

    Re: Excel due date alerts via outlook email

    Hi dflak,

    Apologies for the lack of information provided. I am not very proficient in VBA or Macro

    We need a bit more information. How is this file going to be processed? - the file will be a manual input file)
    Is this just a single file or are you going to have a whole series of them? - Yes there will be a series of these - generate approx 5 per day Will the due date always be in cell J6? - Yes
    Exactly what do you mean by "without opening the actual spreadsheet?" - as there will be an accumulation of these over time the user wants to be alerted that the due date is due or expired without opening each spreadsheet.
    Do you have Microsoft Outlook? - Yes it is our companies email (It may work "cleaner" than a web mailer).

    Here is what I think can be done. You can run a master spreadsheet. It will open the files in the background and get the due date. We'll need help on what you want us to parse out for the salutation. In the example, this appears the be the third element of an array based on a space delimiter - in other words, "OMAR." Can we depend on this?
    - Yes to Omar

    The main aim of this alert is to alert the creator/user that this customers job is due and the creator/user needs to follow up on the status of this job, so I guess an email to the creator/user is not required, but some type of an alert

    You can either run the master program manually or have it kicked off by the windows task scheduler.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Excel due date alerts via outlook email

    Here is how this program works.

    On the control panel sheet:

    Cell B2 contains the directory path to the files to be processed. The program will process every XLS-like file in this directory.

    Cell B3 contains the directory in which to place the files after they are processed so they don’t get processed more than once.

    Fill these cells in with the directories you want.

    This program reads the files and picks out the appropriate data and writes it to the table on the data sheet.

    Then after it processes the current batch of files, it reads the table to find records with no dates in column E. These are records for which a message has not been sent yet.

    The program then looks at the date in column A and decides if the date is due or overdue. If it is one of these statuses, then it mails the message to the indicated address and puts the current time in column E to indicate that the message was sent.

    If you feel like it, you can clean this table out periodically by selecting the rows with dates in Column E and deleting them.

    The program does this manually when the button is clicked. If you have admin rights to your computer, you can set it up so that this report will run in the background automatically, periodically during the day.

    There may also be a way to open the program in the background and put in some timing loops, but this program would have to be run manually to kick it off. The task manager would be the way to go if you can do it.

    Let me know and I can give you detailed instructions, with screen captures on how to set up the task manager.

    Also, you may want to look at this part of the code to configure what you want for subjects and message body.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Email alerts from excel
    By diblor in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-28-2016, 10:12 PM
  2. [SOLVED] Outlook Email alerts
    By crispybadger in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-05-2012, 07:13 PM
  3. Outlook Email Alerts
    By crispybadger in forum Excel General
    Replies: 1
    Last Post: 07-04-2012, 08:29 AM
  4. Email me in Outlook 2 weeks before a date in Excel
    By chadboehne in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-04-2011, 03:04 PM
  5. 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
  6. Automatic Email Alerts using Excel
    By anurodh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2010, 08:16 AM
  7. Excel with email alerts?
    By judasknight in forum Excel General
    Replies: 0
    Last Post: 08-26-2009, 10:29 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