+ Reply to Thread
Results 1 to 2 of 2

Amending VBA to send email set amount of time prior to required Date

  1. #1
    Forum Contributor
    Join Date
    11-02-2011
    Location
    Rugby, England
    MS-Off Ver
    Office 365
    Posts
    846

    Amending VBA to send email set amount of time prior to required Date

    Morning all,

    Had a bit of a search through forums and my previously raised threads but can't work out how to sort this alone

    Spreadsheet is a training matrix which was created to track training dates and email out once a date is nearing.

    Spreadsheet is attached - (I have disabled the workbookopen macro) and the code is below:
    Please Login or Register  to view this content.
    What I would like to happen is this:

    Column G shows the date a refresh is due, I need my VBA code to send out a reminder email 2 months prior to the refresh date.
    I've tested the sheet and it works bang on for what is was initially designed for (send out an email when the refresh date has already passed) however I now need it to be more pre-active by sending out an advance warning.

    Thanks in advance

    Rich
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Amending VBA to send email set amount of time prior to required Date

    Try this. It labels column H with "Reminder" for he 2 month reminder emails.

    Format the reminder email section to suit.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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: 5
    Last Post: 03-10-2017, 06:48 AM
  2. Replies: 1
    Last Post: 09-09-2013, 03:46 PM
  3. Send Email on a specific date and time using Excel Only.
    By j_panky in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2013, 12:09 PM
  4. command button 1 (save as pdf named the current time and date . then send by email
    By guitarist00 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-02-2013, 09:43 AM
  5. Excel Email Macro VBA - How to send an email once all required fields have been fille
    By wallacm2009 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2012, 10:51 AM
  6. Automatically Send an Email with CDO at Specfic Date and Time
    By Orangeworker in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-22-2011, 12:17 PM
  7. Macro required to send a specific email after a date has passed
    By philiasfogg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2009, 05: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