+ Reply to Thread
Results 1 to 7 of 7

How to get Excel to send reminder emails to Outlook

  1. #1
    Registered User
    Join Date
    07-22-2015
    Location
    usa
    MS-Off Ver
    Excel2013
    Posts
    4

    How to get Excel to send reminder emails to Outlook

    Hi, i'm new here and finding a lot of VBA suggestions but i'm not familiar with using it at all(as in, i didn't know about VBA until just this week)
    My manager wants me to figure out a way to have automatically-sent reminder emails/notifications from excel to outlook. More of like a "hey, just to remind you that this project is due soon!" kind of thing, nothing too intricate/personalized. I figured out how to import excel to a new calendar in outlook but this wasn't what my manager was looking for; he's insistent on the email
    My manager isn't too keyboard-savvy, and i don't know if he's going to want to learn VBA to do a seemingly-simple thing..is this possible/can anyone help?
    Thanks in advance!

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: How to get Excel to send reminder emails to Outlook

    Your going to have to provide some more details - what kind of worksheet are you using to track these task? Do you have a worksheet with "Task" , "Assigned To" , "Due by" , "Contact Email" , etc.



    Example:

    Please Login or Register  to view this content.

    That worked for a table like this:

    TASK NAME DUE DATE ASIGNEE EMAIL
    Job 1 1/1/2016 [email protected]
    Job 2 8/1/2015 [email protected]
    Job 3 9/1/2015 [email protected]



    NOTE: you would probably want more controls on this - like, a way to flag if they have been reminded already, or different reminders of varying style... etc.
    Last edited by GeneralDisarray; 08-03-2015 at 09:41 AM.
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    07-22-2015
    Location
    usa
    MS-Off Ver
    Excel2013
    Posts
    4

    Re: How to get Excel to send reminder emails to Outlook

    Thank you for taking the time to reply!
    Right now, i'm using an Excel 2013 to track products, the shipping date is the due date, and there is a column that includes the person who made changes to the product last..i'm sure i can add fields like "email", "reminder sent", etc but i have 700 rows to work with and i don't know much more about this assignment as i'm an intern and was just handed this worksheet to figure out.
    Let me know if you need anymore information, and thanks again for your help!

  4. #4
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: How to get Excel to send reminder emails to Outlook

    I'm afraid this is not a feature of the Excel VBA I make any use of - I'm just aware it exist.


    That said, it seems pretty simple. This would be a fine first project for you to get your feet wet with but if the snippet of code is not enough to get you started you really need to provide a workable example file to tailor more specific code for.

    (If any of this is still relevant that is :D )

  5. #5
    Registered User
    Join Date
    07-22-2015
    Location
    usa
    MS-Off Ver
    Excel2013
    Posts
    4

    Re: How to get Excel to send reminder emails to Outlook

    Oh ok, i really appreciate the help though..
    I don't think i can share specifics, but say the columns are:
    col A=product name
    col C=due dates(reminder email~1 week before this date)
    col F=email
    If there's a macro or an "IF" function that could do the job, i think those are easier to teach than how VBA works..i know how to make a macro, and i'm sure my boss wouldn't have too much trouble with a formula or two, but writing VBA is just not in our skillset. But if VB is the only way to do it, then it is what it is-my boss just REALLY thinks there's a way around it, is all..
    Sorry, i'm a difficult one.

  6. #6
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Devon, England
    MS-Off Ver
    Excel 2003
    Posts
    128

    Re: How to get Excel to send reminder emails to Outlook

    Hi Bluewitch,

    I use the following code,

    Please Login or Register  to view this content.
    feel free to amend it to suit your needs

  7. #7
    Registered User
    Join Date
    07-22-2015
    Location
    usa
    MS-Off Ver
    Excel2013
    Posts
    4

    Re: How to get Excel to send reminder emails to Outlook

    Well, i've been trying to troubleshoot a few errors using GeneralDisarray's code, but i can't seem to figure this one out:
    "Run-Time Error 91: Object variable or With block variable not set"
    This is what the code looks like:


    Option Explicit
    Sub Macro1()
    Dim msOutApp As Outlook.Application
    Dim msOutMail As Outlook.MailItem

    Dim myDueDates As Range, c As Range, myTasks As Range

    Set msOutApp = New Outlook.Application
    Set myDueDates = myTasks.Range("B2:B" & myTasks.Cells(Rows.Count, 2).End(xlUp).Row) <---highlighted row

    For Each c In myDueDates
    On Error Resume Next
    If (c.Value - Now()) < 14 Then

    Set msOutMail = msOutApp.CreateItem(olMailItem)

    With msOutMail
    .To = c.Offset(0, 1).Value
    '.CC = ""
    '.BCC = ""
    .Subject = "Reminder " & c.Offset(0, -1).Value
    .Body = "Reminder " & c.Offset(0, -1).Value & " is due on " & c.Value & ". Please git er done!"

    '.Display
    .Send 'sends the mail item
    End With

    Set msOutMail = Nothing

    End If
    Next c
    End Sub


    Sorry, i just copy/pasted it; i don't know how you two put the code in its own box
    @nickhunt: thank you for your suggestion! I (think) i saw this one on youtube, and suggested it to my boss, but he wants reminders emailed out and not color-filled because he wants to avoid looking at the spreadsheet to see what's upcoming/past due. :l

+ 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. Excel macro that will send emails from outlook
    By terreese in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2014, 11:57 AM
  2. Is it possible to send automated emails from excel to outlook web app.
    By jayant24 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2013, 06:14 AM
  3. Send emails through Outlook from Excel
    By fodster in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2013, 11:16 AM
  4. Opens Outlook from Excel using VBA and send emails
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-13-2012, 09:33 AM
  5. 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
  6. Send reminder mail from excel using outlook
    By arunsny in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-26-2011, 09:22 PM
  7. 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
  8. [SOLVED] Can you tell Excel to send emails through Outlook?
    By Donald S in forum Excel General
    Replies: 1
    Last Post: 06-30-2005, 01:05 PM

Tags for this Thread

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