Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Send e-mail based on condition



I'm sure there are a lot of threads on this subject and I have looked at
A LOT of them, however, I am not familiar enough with VBA to modify the
codes specifically to what I want. After reading an e-mail, if there is
a post that addresses specifically what I need, then please direct me
there. Otherwise, I'd appreciate some help.

I have formatted the cells in column H, which contain an expiration
date, to turn red when it is either 7 days away from the date or on/past
the date.

In addition to this, I would like to send an e-mail based on the
addresses in column C (with the recipient name from column B) when the
condition in column H is met (i.e. when it is 7 days away). I would like
this e-mail to send automatically.

I've fiddled with Ron de Bruin's codes but cannot seem to get it to work
with my specifics and not the "yes/no" condition he has.

If someone can help me out, I'd greatly appreciate it.

Thanks!

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Send e-mail based on condition

I think I will choose this macro and open the workbook ones a day and run the code
http://www.rondebruin.nl/mail/folder3/message.htm

You can also use Ontime to run the code
http://www.cpearson.com/excel/OnTime.aspx



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"Lauren C" wrote in message ...


I'm sure there are a lot of threads on this subject and I have looked at
A LOT of them, however, I am not familiar enough with VBA to modify the
codes specifically to what I want. After reading an e-mail, if there is
a post that addresses specifically what I need, then please direct me
there. Otherwise, I'd appreciate some help.

I have formatted the cells in column H, which contain an expiration
date, to turn red when it is either 7 days away from the date or on/past
the date.

In addition to this, I would like to send an e-mail based on the
addresses in column C (with the recipient name from column B) when the
condition in column H is met (i.e. when it is 7 days away). I would like
this e-mail to send automatically.

I've fiddled with Ron de Bruin's codes but cannot seem to get it to work
with my specifics and not the "yes/no" condition he has.

If someone can help me out, I'd greatly appreciate it.

Thanks!

*** Sent via Developersdex http://www.developersdex.com ***

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bypass: A program is trying to send mail using Item.Send prompt Vick Excel Discussion (Misc queries) 1 June 25th 09 03:31 AM
Problem with .send from microsoft example for vba send mail from excel code Mark Stephens Excel Programming 3 March 6th 09 03:05 PM
Send email when Condition met? HotRod Excel Programming 1 December 12th 06 06:10 PM
A program is trying to send mail using Item.Send David Gerstman Excel Programming 4 December 5th 06 06:31 PM
Send Mail Merge Auto-Emails based on date Phillycheese5 Excel Programming 1 November 17th 05 03:37 PM


All times are GMT +1. The time now is 07:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"