A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

send email when task changes



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 28th 09, 04:06 AM posted to microsoft.public.outlook.program_vba
Kevin Edwards
external usenet poster
 
Posts: 3
Default send email when task changes

Hi All

I've setup categories in my task list and shared it with my boss so he can
edit them

But I want some kind of audit trail. Otherwise I can imagine that on Monday
a task is at priority 4. On Tuesday he changes it to priority 1 - I don't
notice or he forgets and EOB Tuesday he's asking why it isn't done.

So if I could get some vba that would email me when a task is edited with a
certain subject line, I could create a rule to file them and have my audit
trail. Thanks.
Ads
  #2  
Old July 28th 09, 06:44 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default send email when task changes



This example demonstrates how a changed property triggers the ItemChange
event. In the event you can check for the Priority property, and use the
CreateItem function to create an email:

http://www.vboffice.net/sample.html?...cmd=showite m

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Mon, 27 Jul 2009 20:06:01 -0700 schrieb Kevin Edwards:

Hi All

I've setup categories in my task list and shared it with my boss so he can
edit them

But I want some kind of audit trail. Otherwise I can imagine that on

Monday
a task is at priority 4. On Tuesday he changes it to priority 1 - I don't
notice or he forgets and EOB Tuesday he's asking why it isn't done.

So if I could get some vba that would email me when a task is edited with

a
certain subject line, I could create a rule to file them and have my audit
trail. Thanks.

  #3  
Old July 28th 09, 09:35 PM posted to microsoft.public.outlook.program_vba
Kevin Edwards
external usenet poster
 
Posts: 3
Default send email when task changes

Thanks tremendously Michael - my googling wasn't turning up much.

My VBAs very rusty. So before I get into this - rather than training my
boss to leave a note on his edits - will I be able to email what has changed
e.g. completion date or changes to the body.

"Michael Bauer [MVP - Outlook]" wrote:



This example demonstrates how a changed property triggers the ItemChange
event. In the event you can check for the Priority property, and use the
CreateItem function to create an email:

http://www.vboffice.net/sample.html?...cmd=showite m

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Mon, 27 Jul 2009 20:06:01 -0700 schrieb Kevin Edwards:

Hi All

I've setup categories in my task list and shared it with my boss so he can
edit them

But I want some kind of audit trail. Otherwise I can imagine that on

Monday
a task is at priority 4. On Tuesday he changes it to priority 1 - I don't
notice or he forgets and EOB Tuesday he's asking why it isn't done.

So if I could get some vba that would email me when a task is edited with

a
certain subject line, I could create a rule to file them and have my audit
trail. Thanks.


  #4  
Old July 29th 09, 08:56 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default send email when task changes



No, you won't. For that you'd have to add a few steps: Use the Selection
change event of the ActiveExplorer, and whenever a new item gets selected,
temporarily store the properties of your interested in variables. When the
ItemChange fires, compare your stored data with the current property values
of the changed item.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en



Am Tue, 28 Jul 2009 13:35:01 -0700 schrieb Kevin Edwards:

Thanks tremendously Michael - my googling wasn't turning up much.

My VBAs very rusty. So before I get into this - rather than training my
boss to leave a note on his edits - will I be able to email what has

changed
e.g. completion date or changes to the body.

"Michael Bauer [MVP - Outlook]" wrote:



This example demonstrates how a changed property triggers the ItemChange
event. In the event you can check for the Priority property, and use the
CreateItem function to create an email:


http://www.vboffice.net/sample.html?...cmd=showite m

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Mon, 27 Jul 2009 20:06:01 -0700 schrieb Kevin Edwards:

Hi All

I've setup categories in my task list and shared it with my boss so he

can
edit them

But I want some kind of audit trail. Otherwise I can imagine that on

Monday
a task is at priority 4. On Tuesday he changes it to priority 1 - I

don't
notice or he forgets and EOB Tuesday he's asking why it isn't done.

So if I could get some vba that would email me when a task is edited

with
a
certain subject line, I could create a rule to file them and have my

audit
trail. Thanks.


 




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email to Task, move task to 'Other Tasks' folder to sync w/Sharepoint mitcham Outlook and VBA 3 August 26th 08 05:55 AM
can i set sch. task to auto send an email with attachment? rayg Outlook and VBA 1 June 16th 08 08:23 PM
On completion of a task, can I email a copy of the task to myself Richard T Outlook and VBA 1 June 15th 07 06:08 AM
Differentiate between drag & drop email task creation and normal task creation Mohit Add-ins for Outlook 1 April 18th 07 05:54 AM
Automatically send email for a recurring task? jimstolz76 Outlook - General Queries 1 March 23rd 07 02:35 PM


All times are GMT +1. The time now is 01:55 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.