+ Reply to Thread
Results 1 to 7 of 7

Sending mail to multiple users if they exceed the date

  1. #1
    Registered User
    Join Date
    08-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Sending mail to multiple users if they exceed the date

    Hi,

    I have an excel sheet which has names of employees in one column, their respective email ID's in one column, date the task was assigned to them in another column and one more column which gives the date by which they need to complete the task. I have also added another column in my excel which will calculate the difference in dates (which is 10).

    What I am trying is, if the date exceeds the time limit (which is 10 days), an email should be sent to that employee. This should happen for any employee who has exceeded the date (time of 10 days).

    I have written few codes, which are not giving the desired results. I will share what I have and would appreciate your valuable inputs to get my requirement complete.

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,945

    Re: Sending mail to multiple users if they exceed the date

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Sending mail to multiple users if they exceed the date

    Hi, Ashish_Bhatt,

    you must change the column to hold the email-address which is put in as a constant here. I added a check for the validity of the email-address (untested though, no Outlook available on this computer for me):
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    08-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Sending mail to multiple users if they exceed the date

    Hi,

    I have attached the file for your reference.

    Thanks!
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Sending mail to multiple users if they exceed the date

    Code copied from Ron de Bruin's site.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Smile Re: Sending mail to multiple users if they exceed the date

    Thanks a ton! Appreciate your cooperation.
    I will implement it and get back to you with final results.

  7. #7
    Registered User
    Join Date
    08-23-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Sending mail to multiple users if they exceed the date

    Thank you!

+ 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. automatic sending mail from excel 30 days before due date
    By tekken in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-14-2013, 09:12 AM
  2. Replies: 2
    Last Post: 05-03-2013, 01:49 AM
  3. Add signature to Outlook based on the user sending the email/ Multiple users
    By hanott1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-21-2011, 03:40 PM
  4. Sending multiple attachments to multiple users
    By blurtoad in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2009, 07:21 AM
  5. Sending CDO mail to external users
    By Mike1001 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-23-2007, 11:05 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