Sending an email based on date

alm395

New Member
Joined
Apr 23, 2018
Messages
39
Office Version
  1. 365
Platform
  1. Windows
Is it possible to send an email reminder based on a specific date & time via Excel? If it is possible, does Excel have to be open to send or can we set the dates and basically forget about the spreadsheet until it needs to be updated?

Below is a checklist where tasks are to be completed before a storm hits 72 hours prior, 48 hours prior, 24 hours prior, 12 hours prior, 6 hours prior, and within 1 hour of the storm hitting.
The "End Time" shows those timeframes based on the "Anticipated Date" of the storm. The "Start Time" is 6 hours before the "End Date."

Task 1 is assigned to AAAA. Since it is indicated that "Task 1" should be completed in the "72 Hrs Prior" field, I would like an email sent to AAAA at the "Start Time" indicating their task is "Task 1." This would need to continue for all tasks assigned based on their timeframe.

I am open to suggestions on other MS applications that may be able to accommodate this request.

Thanks for reading & helping!!! ?

Book4
ABCDEFGHIJK
1PRE-STORM CHECKLIST
2
3TYPE OF STORM:FEB. 2022 - WINTER STORM
4ANTICIPATED DATE OF ARRIVAL:Thursday, February 03, 2022 @ 06:00:00
5TODAYS DATE:Wednesday, February 2, 2022
67248241261
7START TIME:1/31/22 00:00:002/1/22 00:00:002/2/22 00:00:002/2/22 12:00:002/2/22 18:00:002/2/22 23:00:00
8END TIME:1/31/22 06:00:002/1/22 06:00:002/2/22 06:00:002/2/22 18:00:002/3/22 00:00:002/3/22 05:00:00
9ASSIGNEDDATEINITIAL WHEN COMPLETETASKS72 HRS PRIOR48 HRS PRIOR24 HRS PRIOR12 HRS PRIOR6 HRS PRIOR1 HR PRIOR
10TEAM 1AAAATASK 1X
11BBBBTASK 2X
12CCCCTASK 3X
13DDDDTASK 4X
14EEEETASK 5X
15FFFFTASK 6X
16GGGGTASK 7X
17HHHHTASK 8X
18IIIITASK 9X
19JJJJTASK 10X
Sheet1
Cell Formulas
RangeFormula
F7F7=$F$8-6/24
G7G7=$G$8-6/24
H7H7=$H$8-6/24
I7I7=$I$8-6/24
J7J7=$J$8-6/24
K7K7=$K$8-6/24
F8:K8F8=$C$4-F$6/24
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
It is possible to do something like this in Excel using VBA. A couple of things to understand up front:

For this to work, Excel must be running.
Ideally this particular file must be open in Excel (there might be ways to get around that but I don't recommend that)
You will have to have email addresses in the file
I assume you will use Outlook to send the email
You must have a way to indicate that the email has been sent, to avoid sending it repeatedly

You must decide what you want to use as a trigger for checking whether it's time to send any particular email. For example, it can check them all when the file is opened. If the file stays open for a long time (>1 day) a timer can be set to check once a day, or twice a day, or whatever you want.

Another possibility might be that when the file is first opened, timers are set for all the emails that haven't been sent yet. (I haven't taken that approach before but it should work pretty well.) The problem with that is that the timers stay alive as long as Excel is open, but if the file itself does not stay open in Excel then the timers will barf when they try to get the data from the file to send the email.
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,537
Members
449,088
Latest member
RandomExceller01

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