Filter based on today's date and send mail in outlook

kandanuru

Board Regular
Joined
Dec 27, 2011
Messages
98
Hi Fellas,

I should send email in outlook to my leads on daily basis.For this i need to write a macro.

Criteria:
Macro should filter based on today's date.

In sheet 1 my data will look like below.
ResourcesTaskqueryallocationDate
martyRTFContinuation100.00%Jun 15,2012
smithIconpending100.00%Jun 15,2012
JustinCTRProgress100.00%Jun 15,2012
wilsonRMFComplete0.00%Jun 14,2012
RajanVPFpending100.00%Jun 13,2012

<COLGROUP><COL width=86><COL width=86><COL width=86><COL width=86><COL width=86></COLGROUP><TBODY>
</TBODY>

Sheet 2
TOCC
Sindy@xyz.comparasu@xyz.com
suma@xyz.comelizi@xyz.com
garbchoz@xyz.com

<COLGROUP><COL width=133><COL width=119></COLGROUP><TBODY>
</TBODY>


In Sheet 2 and in Column "A" i have Email Addresses which should be placed in "TO" Section.
In Column "B" i have Email Addresses to be placed in "CC".

Subject: Today's date information:
Body of Email: should be sent like as is shown below.


Hi Sindy,

Please find details below as on date.
ResourcesTaskqueryallocationDate
martyRTFContinuation100.00%Jun 15,2012
smithIconpending100.00%Jun 15,2012
JustinCTRProgress100.00%Jun 15,2012

<COLGROUP><COL width=86><COL width=86><COL width=86><COL width=86><COL width=86></COLGROUP><TBODY>
</TBODY>

Best Regards,
Kandar
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

kandanuru

Board Regular
Joined
Dec 27, 2011
Messages
98
Can any one pls look into the query.It's Important for me.....
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,129,810
Messages
5,638,484
Members
417,027
Latest member
wlknspc7

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
Top