+ Reply to Thread
Results 1 to 7 of 7

Assistance Required - Using VBA to send reminder emails.

  1. #1
    Registered User
    Join Date
    06-11-2016
    Location
    Singapore
    MS-Off Ver
    microsoft 2010
    Posts
    7

    Assistance Required - Using VBA to send reminder emails.

    Hi Experts!

    I am new to VBA and currently I am exploring using VBA to help with sending reminder by just clicking one button. I have finished creating the coding for sending email via outlook but now I couldn't fix certain issue as follow:

    - To send reminder email for certain date. Example if the due date is today, the program can auto detect/lookup the due date with today date in that column and send out the reminder email without sending email for other dates.
    - To a command button which by clicking it, it will prompt the system to send email.


    Below is the excel listing and VBA code

    Column 1 is Name

    Column 2 is Prof

    Column 3 is Email

    Column 4 is Due Date

    -----------------------------------------------------------


    Please Login or Register  to view this content.
    Your Help is greatly appreciated!
    Last edited by FDibbins; 06-13-2016 at 01:49 AM.

  2. #2
    Registered User
    Join Date
    12-03-2012
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2010, 2013, 2016
    Posts
    41

    Re: Assistance Required - Using VBA to send reminder emails.

    You simply need to compare the date in column 4 to today's date.....

    Please Login or Register  to view this content.

    You may also consider using letters instead of numbers as it can be confusing later on:

    Please Login or Register  to view this content.
    Using Excel 2010, 2013 & 2016 | Windows 7 | 64 Bit

  3. #3
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,909

    Re: Assistance Required - Using VBA to send reminder emails.

    Dates will be checked for Today+1

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Assistance Required - Using VBA to send reminder emails.

    tf1989123 welcome to the forum

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (I will add then for you - this time )
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    06-11-2016
    Location
    Singapore
    MS-Off Ver
    microsoft 2010
    Posts
    7

    Re: Assistance Required - Using VBA to send reminder emails.

    Thank you so much and it work! If I want to add a command button to trigger the send email. How the code should be added?

  6. #6
    Registered User
    Join Date
    06-11-2016
    Location
    Singapore
    MS-Off Ver
    microsoft 2010
    Posts
    7

    Re: Assistance Required - Using VBA to send reminder emails.

    Thank you so much and I will read the forum rule again.

  7. #7
    Registered User
    Join Date
    06-11-2016
    Location
    Singapore
    MS-Off Ver
    microsoft 2010
    Posts
    7

    Re: Assistance Required - Using VBA to send reminder emails.

    Thank you so much and your assistance. I will add this code to my list!

+ 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. How to get Excel to send reminder emails to Outlook
    By bluewitch in forum Excel General
    Replies: 6
    Last Post: 08-10-2015, 01:35 PM
  2. Excel vba to auto-send customer emails (duplicate emails issue)
    By nadz84 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-29-2015, 10:08 AM
  3. Send Emails once expiry date is reached, and generate report based on emails sent
    By demonicscorpion in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2014, 05:36 AM
  4. Send outlook emails with message in cells to individual emails associated with them
    By abinayan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-21-2011, 06:11 AM
  5. Sending macro emails using excel: Send emails with their passwords.
    By loveisblind in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2009, 03:16 PM
  6. [SOLVED] Reminder Emails
    By little_rascal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2006, 04:30 AM
  7. [SOLVED] Can excel send reminder emails on dates entered in a wookbook?
    By Doubting_her_boss in forum Excel General
    Replies: 2
    Last Post: 10-27-2005, 05:05 PM

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