A Microsoft Office (Excel, Word) forum. OfficeFrustration

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 » OfficeFrustration forum » Microsoft Outlook » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Automatically Purging Completed Tasks



 
 
Thread Tools Display Modes
  #1  
Old October 6th, 2009, 05:30 PM posted to microsoft.public.outlook.general
Orion Cochrane
external usenet poster
 
Posts: 3
Default Automatically Purging Completed Tasks

I would like to know if there is a way that a task can be deleted once
completed. I already have a filter that hides completed tasks, but they'll
build up over time. Ideally, I would like to click the Complete field to mark
it completed, and have the task automatically deleted. If I can get a prompt
before deleting, that would be excellent.

This is probably more of a VBA question, but I thought I would try here
first, as I am only familiar with Excel VBA programming.

TIA
--
I am running on Office 2003, unless otherwise stated.
  #2  
Old October 6th, 2009, 07:01 PM posted to microsoft.public.outlook.general
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,346
Default Automatically Purging Completed Tasks



That's possible with VBA. You can adapt this example, which assigns a
category to a completed task:
http://www.vboffice.net/sample.html?...item&lang=e n

After checking for the Status property, and instead of assigning the
category, just call Task.Delete.

--
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, 6 Oct 2009 09:30:01 -0700 schrieb Orion Cochrane:

I would like to know if there is a way that a task can be deleted once
completed. I already have a filter that hides completed tasks, but they'll
build up over time. Ideally, I would like to click the Complete field to

mark
it completed, and have the task automatically deleted. If I can get a

prompt
before deleting, that would be excellent.

This is probably more of a VBA question, but I thought I would try here
first, as I am only familiar with Excel VBA programming.

TIA

  #3  
Old October 6th, 2009, 07:33 PM posted to microsoft.public.outlook.general
Orion Cochrane
external usenet poster
 
Posts: 3
Default Automatically Purging Completed Tasks

That worked great! Thanks.
--
I am running on Office 2003, unless otherwise stated.


"Michael Bauer [MVP - Outlook]" wrote:



That's possible with VBA. You can adapt this example, which assigns a
category to a completed task:
http://www.vboffice.net/sample.html?...item&lang=e n

After checking for the Status property, and instead of assigning the
category, just call Task.Delete.

--
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, 6 Oct 2009 09:30:01 -0700 schrieb Orion Cochrane:

I would like to know if there is a way that a task can be deleted once
completed. I already have a filter that hides completed tasks, but they'll
build up over time. Ideally, I would like to click the Complete field to

mark
it completed, and have the task automatically deleted. If I can get a

prompt
before deleting, that would be excellent.

This is probably more of a VBA question, but I thought I would try here
first, as I am only familiar with Excel VBA programming.

TIA


  #4  
Old October 6th, 2009, 08:44 PM posted to microsoft.public.outlook.general
Orion Cochrane
external usenet poster
 
Posts: 3
Default Automatically Purging Completed Tasks

Is there a way to permanently purge these completed tasks as opposed to
moving them to the Deleted Items folder? Something like a Shift+Delete
operation.

Thanks.
--
I am running on Office 2003, unless otherwise stated.


"Michael Bauer [MVP - Outlook]" wrote:



That's possible with VBA. You can adapt this example, which assigns a
category to a completed task:
http://www.vboffice.net/sample.html?...item&lang=e n

After checking for the Status property, and instead of assigning the
category, just call Task.Delete.

--
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, 6 Oct 2009 09:30:01 -0700 schrieb Orion Cochrane:

I would like to know if there is a way that a task can be deleted once
completed. I already have a filter that hides completed tasks, but they'll
build up over time. Ideally, I would like to click the Complete field to

mark
it completed, and have the task automatically deleted. If I can get a

prompt
before deleting, that would be excellent.

This is probably more of a VBA question, but I thought I would try here
first, as I am only familiar with Excel VBA programming.

TIA


  #5  
Old October 7th, 2009, 07:27 AM posted to microsoft.public.outlook.general
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,346
Default Automatically Purging Completed Tasks



If you use the Redemption (www.dimastr.com), that's easier. With Outlook you
have to monitor the ItemAdd event of the Deleted Items folder, and there
delete incoming items once again.

--
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, 6 Oct 2009 12:44:01 -0700 schrieb Orion Cochrane:

Is there a way to permanently purge these completed tasks as opposed to
moving them to the Deleted Items folder? Something like a Shift+Delete
operation.

Thanks.

 




Thread Tools
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 Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:44 AM.


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