Create an Outlook reminder when I enter a date in Excel

AmalH

New Member
Joined
Jun 30, 2015
Messages
9
I don't work with VB code but if that is the only way I'll Google a youtube video to see how to do it :-):). I have a date in cell C2 in Excel 2010. When I enter that date and hit Enter I want Outlook 2010 to open and create a new Reminder for that date. The subject would be the text in cell A2. The body of the reminder would be the same text always, "If approved Register this trial today". I would like to do this for every row in which I place a date in Column C. Thank you in advance for your advice. My OS is Windows 7. ( I entered a comment on a similar post "Create Outlook reminder from a date generated by a formula" by
Mari_Fec on Dec 23, 2015 but no response. It could be that the topic is closed.)
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Try something like this:
Code:
[COLOR=#0000ff][B]Private Sub[/B][/COLOR] Worksheet_Change([B][COLOR=#0000ff]ByVal[/COLOR][/B] Target [B][COLOR=#0000ff]As[/COLOR][/B] Range)

   [COLOR=#0000ff][B] Dim[/B][/COLOR] OutlookApp [B][COLOR=#0000ff]As [/COLOR][/B]Object

  [COLOR=#0000ff][B]  If[/B][/COLOR] Target.Column = 3 [B][COLOR=#0000ff]And[/COLOR][/B] Target.Row = 2 [B][COLOR=#0000ff]Then[/COLOR][/B] [COLOR=#008000][B]'If cell C2 is selected then....[/B][/COLOR]
    
        [COLOR=#0000ff][B]Set[/B][/COLOR] OutlookApp = CreateObject("Outlook.Application")
        
      [COLOR=#0000ff][B]  With[/B] [/COLOR]OutlookApp.CreateItem(3)
            .Subject = Range("A2").Value
            .Body = "If approved Register this trial today..."
            .importance = 2
            .ReminderSet = True
            '.ReminderDate = Date
            .ReminderTime = Date + 1 & " 15:00 PM"
            .DueDate = Range("C2").Value
            .Display
[COLOR=#0000ff][B]        End With[/B][/COLOR]

[COLOR=#0000ff][B]    End If[/B][/COLOR]

[COLOR=#0000ff][B]End Sub[/B][/COLOR]


Excel 2010
ABC
1NameValueDescription
2olAppointmentItem1AnAppointmentItemobject.
3olContactItem2AContactItemobject.
4olDistributionListItem7ADistListItemobject.
5olJournalItem4AJournalItemobject.
6olMailItem0AMailItemobject.
7olNoteItem5ANoteItemobject.
8olPostItem6APostItemobject.
9olTaskItem3ATaskItemobject.
Sheet2
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top