+ Reply to Thread
Results 1 to 11 of 11

Sending an email on a particular date

  1. #1
    Registered User
    Join Date
    12-12-2018
    Location
    Scotland
    MS-Off Ver
    2016
    Posts
    5

    Sending an email on a particular date

    Hi All,

    I hope you're well.

    I was hoping someone wouldn't mind offering a little advice on how to automatically send an email, or create a macro, to send out a reminder email to a client on a specific date.

    For example :

    In collumn "A" I have the clients email addresses.
    In collumn "B" I have the body of the message I'd like to send to that particular client once the threshold has been met.
    In collumn "C" I have the date that the email should be sent.

    Ideally once the date has been met - for example in cell A3 - the macro should compose an email using the information from B3.

    I'm struggling to get my head round this.

    I found some code online that seems to be basically the same, but i cant get it to work in my particular context.

    Any advice would be wonderful

    I hope you all have a great day.

    Also the code i have is below.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor PaulSP8's Avatar
    Join Date
    11-21-2017
    Location
    Chorley, England
    MS-Off Ver
    2013 & 2021
    Posts
    437

    Re: Sending an email on a particular date

    Hi - Welcome to the Forum

    Can you work with this?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-12-2018
    Location
    Scotland
    MS-Off Ver
    2016
    Posts
    5

    Re: Sending an email on a particular date

    Hi Paul,

    Thanks for your quick response.

    That does seem to work, however it's not generating more than one email.

    It seems to only grab details from the bottom row.

    Any ideas?

    Thanks again.

  4. #4
    Valued Forum Contributor PaulSP8's Avatar
    Join Date
    11-21-2017
    Location
    Chorley, England
    MS-Off Ver
    2013 & 2021
    Posts
    437

    Re: Sending an email on a particular date

    Quote Originally Posted by manfeelings View Post
    It seems to only grab details from the bottom row.

    Any ideas?
    So there is only a date in the bottom row of Column C?

    If Column A is populated all the way try this;

    Please Login or Register  to view this content.
    The code is looking in Col C for dates that match todays date and sending an email if it finds one.

    If it still doesn't work if you could upload a copy of your Workbook that'd be handy so I could see what was going on properly.

    It just needs to be a sample of the workbook and doesn't have to be real data - Just an example or indication of the real book.

    To upload it "Go Advanced" and use "Manage Attachments" underneath the main reply box, the paper clip button doesn't work.

  5. #5
    Registered User
    Join Date
    12-12-2018
    Location
    Scotland
    MS-Off Ver
    2016
    Posts
    5

    Re: Sending an email on a particular date

    Hi Paul,

    I'll upload the workbook here, it should hopefully be easier to understand.

    I know I'm not doing a good job of explaining it.

    Best,
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor PaulSP8's Avatar
    Join Date
    11-21-2017
    Location
    Chorley, England
    MS-Off Ver
    2013 & 2021
    Posts
    437

    Re: Sending an email on a particular date

    No, it is fine - The mistake was mine, I couldn't see it till I put the code in the VBE - I've definitely not had enough coffee today.

    Here, try this;

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    12-12-2018
    Location
    Scotland
    MS-Off Ver
    2016
    Posts
    5

    Re: Sending an email on a particular date

    Hi Paul,

    Nope still not working. It's only generating the first email in the row (Which is the correct date) but it wont generate any subsiquent emails.

    Best,

  8. #8
    Valued Forum Contributor PaulSP8's Avatar
    Join Date
    11-21-2017
    Location
    Chorley, England
    MS-Off Ver
    2013 & 2021
    Posts
    437

    Re: Sending an email on a particular date

    Then... I don't know what to tell you

    That code works given the Workbook you provided... I got emails for 1, 6, 7, 13, 18, 19 and 24

    I've literally just Downloaded your book again, copied and pasted from the my post in to the Module and tried it :-/

    I've attached it back to you - *just in case*

    Let me know?
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    12-12-2018
    Location
    Scotland
    MS-Off Ver
    2016
    Posts
    5

    Re: Sending an email on a particular date

    Mate, dunno what I've been doing but that works a treat!

    You're a gem and a saviour!

    Have a good one ma man!

  10. #10
    Valued Forum Contributor PaulSP8's Avatar
    Join Date
    11-21-2017
    Location
    Chorley, England
    MS-Off Ver
    2013 & 2021
    Posts
    437

    Re: Sending an email on a particular date

    No problem at all - Glad I could help

  11. #11
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Sending an email on a particular date

    For the record it works for me. Can't see what i would change. To produce 1 email the references to outlook should be working, so that is unlikely to be the problem

+ 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. Replies: 0
    Last Post: 11-24-2015, 03:29 AM
  2. Sending an email when on a date in the future when date arrives
    By BrianMH255 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-04-2015, 08:24 AM
  3. Sending email due to a expired date
    By RickyGregory in forum Excel General
    Replies: 1
    Last Post: 09-30-2014, 11:36 AM
  4. sending an email from excel when date is reached in a cell date
    By ldelafosse in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-28-2014, 08:58 PM
  5. [SOLVED] Sending an email when a date passes
    By paul51 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-19-2014, 12:33 AM
  6. Sending Email Automatically when due date
    By cyee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 04:21 AM
  7. Sending an email when a cell is todays date
    By ngrant01 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-15-2012, 07:51 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