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

Delete All Appointments In A Category



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 11th 08, 05:30 AM posted to microsoft.public.outlook.program_vba
dunnerca
external usenet poster
 
Posts: 1
Default Delete All Appointments In A Category

I'm using Outlook 2003. I have an Excel spreadsheet with a schedule that
keeps changing. I have coded a module in VBA that will create appointment
items in Outlook based on the row information in the Excel sheet. However,
before adding these appointments, I want the module to delete all the
existing appointments in Outlook with the category I'm using. I'm
(understandably) uneasy about playing around with this. Is there an easy way
to delete all appointments associated with a particular category or do you
have to loop through them all?
Ads
  #2  
Old September 11th 08, 02:55 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Delete All Appointments In A Category

In code you'd have to filter on those items with the category you want and
delete them one at a time. In the UI you can use a by category view, select
everything in that category and delete it in one action.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"dunnerca" wrote in message
...
I'm using Outlook 2003. I have an Excel spreadsheet with a schedule that
keeps changing. I have coded a module in VBA that will create appointment
items in Outlook based on the row information in the Excel sheet.
However,
before adding these appointments, I want the module to delete all the
existing appointments in Outlook with the category I'm using. I'm
(understandably) uneasy about playing around with this. Is there an easy
way
to delete all appointments associated with a particular category or do you
have to loop through them all?


 




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
How do you print appointments for a category in Outlook2007. DR Outlook - Calandaring 1 August 20th 08 10:04 PM
Delete all contacts in a specific category fluffer Outlook - Using Contacts 1 August 24th 07 10:05 AM
How do I set up a default category for appointments w/o category Mike Outlook - Calandaring 0 December 5th 06 03:59 PM
Master Category List - delete question Anna Outlook - Using Contacts 2 June 19th 06 05:34 PM
How do I set a default category in Outlook appointments Suzi Outlook - Calandaring 1 April 20th 06 04:23 AM


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