Emailing based on expired dates weekly

scottyb1977

New Member
Joined
May 22, 2015
Messages
8
Hi everyone I am fairly new to VBA and excel but here is what I am trying to do. I want my excel file to check the dates in column "b" a week in advance and send an email if the date is expired. This program will be opened once a week so I want it to check up to 7 days in advance and send the email out for the expired serial numbers. Then if a week later if the serial is still expired then send another email and continue each week if the conditions still apply. Please Help! Thanks in Advance!
Here is an example of what I want. The program will have more than 5 serial numbers. it will probably be around 200 or so. Again thanks!

 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
The image has been uploaded. You need to place the picture into a web area, like dropbox if you can't use the screen capturing options from Mr Excel.
 
Upvote 0
I am not sure what you mean but here is what the screen shot looked like.

A B C
Serial Date Check
1 101 5-5-16 Good
2 220 4-5-16 Good
3 223 3-30-16 Expired
4 332 3-28-16 Expired
5 443 3-24-16 Expired

The Column C has a formula in it that uses today's date compared to Column B.
I want the rows that are expired to be emailed. I want the email to say the subject "Expired", the body to list the serial # the date of the expired serial #'s and on the last line to say "Please Check Calibrate Dates". This program will be opened once a week and if the calibrations is the same I want it to include it again until the calibration date has been changed.
Thanks in Advance and if you need anything else please let me know.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,264
Members
452,627
Latest member
KitkatToby

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