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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|