Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 27th, 2007, 03:43 AM
Authorized User
Join Date: Mar 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default auto tracker function &send personalised email

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.

Old April 27th, 2007, 04:43 AM
Friend of Wrox
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts

Please have a look at this code for mail automation




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

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