Help getting excel to send emails on a date

ryan james hardy

New Member
Joined
Sep 12, 2012
Messages
19
Hi,
I need some help getting excel to send emails to a list of people dependent on the dates in another column. Preferably this would happen automatically but if i have to open the excel file and click a button that would be ok to. Bascially the macros would check column C for dates, and if the date is 3 days away then send an email to the email address in column B. Ideally the email would be automatically populated with a standard response or the macros could get the email subject/msg from cell data.
thanks in advance,
Ryan
 
In the line:

Set Rng = Range(Range("C1"), Range("C" & Rows.Count).End(xlUp)) what is the part after the equal sign doing?

Should I replace the whole line with:

Set Rng=Range(C10:C109).Value
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi

It is selecting the range in column C down to the last filled cell so the range is set as C1 to the last filled cell. The range is automatically expanded as you fill in more cells in the column and the advantage is you don't need to modify the code.

Yes replace the complete line.
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,108
Members
452,544
Latest member
aush

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