View Single Post
  #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

Ads