Is it possible to set reminder in outlook calendar when near due date using data from table

Auri

Board Regular
Joined
Apr 8, 2020
Messages
54
Office Version
  1. 2016
Platform
  1. Windows
I have found similar posts on this but they were not using the table. So I wonder if it's possible to set a reminder in the outlook calendar by taking data from the table like the expiry date and header itself, putting inside the calendar.

A total noob trying to learn this stuff, so I hope to have some help and or given solution to help me. Thanks!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
VBA Code:
Sub EnterInCalendar()
Dim xOutApp As Object, cel As Range
If Selection.Columns.Count > 1 Or Selection.Column <> 3 Then
    MsgBox "Select in column C only."
    Exit Sub
End If
Set xOutApp = CreateObject("Outlook.Application")
For Each cel In Selection
    With xOutApp.createitem(1)
        .Subject = cel.Value
        .Start = cel(1, 4).Value + TimeValue("9:00:00")
        .End = cel(1, 4).Value + TimeValue("9:30:00")
        .ReminderSet = True
        .ReminderMinutesBeforeStart = 10080
        .BusyStatus = 5
        .Save
    End With
    Cells(cel.Row, "K") = "c"
Next
Set xOutApp = Nothing
End Sub

It still show as this though. The time didn't changed.
1587367301917.png
 
Upvote 0
It works for me. I don't know what to suggest.
 
Upvote 0
Ok, I directly copy-pasted in this time and it worked! Thanks for the help, really appreciated!
 
Upvote 0
And just checking is it possible to set multiple reminders or just one?
 
Upvote 0
And just checking is it possible to set multiple reminders or just one?
I don't think so, but not sure - I'm not very knowledgeable about Outlook. Suggest you do a search or post to an Outlook forum.
Reminders should continue to pop-up until you click the dismiss button (click the snooze button to keep the reminder).
 
Upvote 0
A possible workaround is to put each project in the calendar on the expiry date and on each of the 6 days before that.
The reminder would be set on each of the 7 days. Your calendar, however, may be a bit too cluttered.
Like this :
VBA Code:
Sub EnterInCalendar()
Dim xOutApp As Object, cel As Range, x%
If Selection.Columns.Count > 1 Or Selection.Column <> 3 Then
    MsgBox "Select in column C only."
    Exit Sub
End If
Set xOutApp = CreateObject("Outlook.Application")
For Each cel In Selection
    For x = 0 To 6
    With xOutApp.createitem(1)
        .Subject = cel.Value & " - " & cel(1, 4).Value
        .Start = cel(1, 4).Value - x + TimeValue("9:00:00")
        .End = cel(1, 4).Value - x + TimeValue("9:30:00")
        .ReminderSet = True
        .ReminderMinutesBeforeStart = 15
        .BusyStatus = 5
        .Save
    End With
    Next
Cells(cel.Row, "K") = "c"
Next
Set xOutApp = Nothing
End Sub
 
Upvote 0
Right now, its currently set to my email calendar but what if I want to add it to another person's calendar instead of my own calendar. So, do I just add in a line to redirect to the person's calendar via its email?
 
Upvote 0

Forum statistics

Threads
1,215,772
Messages
6,126,814
Members
449,340
Latest member
hpm23

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