Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 27th, 2007, 03:43 AM
Authorized User
 
Join Date: Mar 2007
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default auto tracker function &send personalised email

Hi,
I need some help from all the kind souls and experts down there.

On my worksheet, there are 6 columns:-

Action_Item (eg Item1, item 2,item 3,item4,item5 ...etc),
Action_Item_status (with values= Open /Closed/NA),
Action_Item_Due_Date (jan-07,feb-07,mar-07,apr-07,may-07,jun-07,etc),
Classification_Of_Action_Item_Status (with values=Low/ Medium /High),
Action_Item_Party (Eg Anna,Beyonce,Claudia,Debby,Ellie ..etc),
Action_Party_email (Eg anna@m1.com,beyonce@m1.com,... etc)

I need to write a macro in excel that enables me to do the following:-
When i run the macro today(Ie today's date is 27/04/07), the vb scripts will need to check against all the records present in the worksheet and do the following:-

If Action_Item_Due_Date=jan-07,feb-07,mar-07 & Action_Item_status =Open,
i need to send out personalized email (including the information like
'Action_Item', 'Action_Item_status', ' Action_Item_Due_Date' to the respective Action_Party based on their Respective Action_Party_Email, to remind them that the Action_Item is still open(overdue) and requries Actions to be taken.

Moreover, if it is possible,i need another macro which will scan for the Action_Item_Due_Date in the next 3 months. (Eg in this case, the Action_Item_Due_Date=Apr-07,May-07,Jun-07). If Action_Item_status =Open,
it'll send out a warning email to their respective Action_Party based on the respective Action_Party_email. The warning email will serves as a reminder to inform the Action_Party to keep track of the Action_Items that will be overdue soon.

Just curious, if i don't include the Action_Party_email, is it possible for Microsoft Outlook to do a Lookup int he Global_Address_List based on 'Alias' in the addess book?

Thanks for the great help in advanced.


Reply With Quote
  #2 (permalink)  
Old April 27th, 2007, 04:43 AM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Please have a look at this code for mail automation

http://vbadud.blogspot.com/2007/04/v...-vba-mail.html

cheers
Shasur

http://www.vbadud.blogspot.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Store procedure,auto send email after X days.(+asp kumiko SQL Server 2005 2 February 29th, 2008 01:15 PM
Auto send email from command button underscore10304 Access VBA 3 September 26th, 2006 06:41 AM
Send email & submit to DB at same time brettdalldorf ASP.NET 1.0 and 1.1 Basics 2 July 2nd, 2005 08:49 AM
send & recive mails from exchange & lotus sever zaheersharief Pro VB 6 1 May 16th, 2005 06:55 AM
auto send an emal Pavel Kadera Excel VBA 1 February 7th, 2005 12:48 PM



All times are GMT -4. The time now is 09:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.