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

Deleteing Tasks in Outlook from Excel



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 10th 07, 10:34 PM posted to microsoft.public.outlook.program_vba
J Streger
external usenet poster
 
Posts: 4
Default Deleteing Tasks in Outlook from Excel

I have an Excel a procedure that adds tasks to Outlook for birthday reminders
and service anniversaries. I want a means of deleting tasks from outlook as
well, so in case the list of people changes, I can autodelete the tasks. The
intent is to run this macro on a regular basis, so deleting all tasks put in
by the proceudre and re-applying was my thought. Anyway, adding was easy but
I can only see the reminder collection in outlook. Any help finding that
pesky task collection? Thanks.

--
*********************
J Streger
MS Office Master 2000 ed.
MS Project White Belt 2003

  #2  
Old July 10th 07, 10:39 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Deleteing Tasks in Outlook from Excel

Use the Namespace.GetDefaultFolder to return the Tasks folder, then use that folder's Items collection.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"J Streger" wrote in message news
I have an Excel a procedure that adds tasks to Outlook for birthday reminders
and service anniversaries. I want a means of deleting tasks from outlook as
well, so in case the list of people changes, I can autodelete the tasks. The
intent is to run this macro on a regular basis, so deleting all tasks put in
by the proceudre and re-applying was my thought. Anyway, adding was easy but
I can only see the reminder collection in outlook. Any help finding that
pesky task collection? Thanks.

--
*********************
J Streger
MS Office Master 2000 ed.
MS Project White Belt 2003

  #3  
Old July 10th 07, 11:30 PM posted to microsoft.public.outlook.program_vba
J Streger
external usenet poster
 
Posts: 4
Default Deleteing Tasks in Outlook from Excel

Thank you. That did the trick!

--
*********************
J Streger
MS Office Master 2000 ed.
MS Project White Belt 2003

User of MS Office 2003



"Sue Mosher [MVP-Outlook]" wrote:

Use the Namespace.GetDefaultFolder to return the Tasks folder, then use that folder's Items collection.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"J Streger" wrote in message news
I have an Excel a procedure that adds tasks to Outlook for birthday reminders
and service anniversaries. I want a means of deleting tasks from outlook as
well, so in case the list of people changes, I can autodelete the tasks. The
intent is to run this macro on a regular basis, so deleting all tasks put in
by the proceudre and re-applying was my thought. Anyway, adding was easy but
I can only see the reminder collection in outlook. Any help finding that
pesky task collection? Thanks.

--
*********************
J Streger
MS Office Master 2000 ed.
MS Project White Belt 2003


 




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
Automatically creating tasks/appointments from Excel workbooks Nick Outlook - Calandaring 0 May 17th 07 04:16 AM
Help needed deleteing undeliverable read receipts T5 Outlook - General Queries 1 December 15th 06 03:21 PM
Macro to import Excel data to Tasks Patrix317 Outlook and VBA 2 May 2nd 06 07:32 PM
Is there a way to import TASKS from Excel mDougMc Outlook - Calandaring 2 April 14th 06 07:43 PM
Can tasks be imported and exported to Excel? MS Project? Mr . . Outlook - Using Forms 0 January 13th 06 10:56 PM


All times are GMT +1. The time now is 12:40 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.