views:

18

answers:

1

In Outlook 2003, when you have a calendar event, it has an option to set its Label to Important, Business, Personal, etc, each having a different colour. This colour will be the colour of the scheduled event on your calendar.

My problem is I have no idea how to change it using an AppointmentItem. I've looked through the object browser and see nothing that looks like it relates to changing the label/colour. I'm accessing Outlook through an Access module, and have code set up to change the object's subject etc.

So what I want to know is, is there a way to change the events label/colour through an appointmentItem? And if so, how?

A: 

The term you are looking for is the item's Category. You can modify it using the Categories property on the AppointmentItem object. It's a string, so you can simply put the value you want in there.

The color displayed is customizable by the user, so you are better off just setting the label name and not try to put a specific color for the appointment.

Joe Doyle