Send email when due date near

Dannynijp

New Member
Joined
May 30, 2018
Messages
6
Dear All,

At work we order stock from the factory for orders we have from customers, so we set a Date Of Delivery so we know when to input this order in our system.
What I want to achieve is that via a VBA code is to check the "Date Of Delivery" and send out an email to myself 7 days before the due date, stating in Subject that "Order Due date is near" and mention the Order number in the text field. (see below example of excel)

[TABLE="width: 486"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Customer [/TD]
[TD]Order number [/TD]
[TD]Date of Delivery [/TD]
[/TR]
[TR]
[TD]NHMR[/TD]
[TD]89572[/TD]
[TD]13-7-2018[/TD]
[/TR]
[TR]
[TD]NHMR[/TD]
[TD]89354[/TD]
[TD]7-6-2018[/TD]
[/TR]
[TR]
[TD]NHMR[/TD]
[TD]89475[/TD]
[TD]6-5-2018[/TD]
[/TR]
</tbody>[/TABLE]

I am a novice in VBA at the moment and was wondering if somebody could help me out.

Thanks in advanced
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,225,757
Messages
6,186,848
Members
453,379
Latest member
gabriellegonzalez

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