Question : Change Color Category to Appointment in VBA

I have posted appointments from Access 2007 to Outlook 2007.  Everything is working as expected.  The enduser is happy with the results and now is wanting the appointments to be color coded.  I see the options I have:

http://msdn.microsoft.com/en-us/library/bb208064.aspx

I think the code is pretty straightforward but I don't see a lot of help online on how to get it to push the color to the calendar.


I am thinking there is a line to put right after:

 With myAppt
        .Start = rs.Fields("DueDate")
        .AllDayEvent = True
        .RequiredAttendees = "[email protected]"
       


Can one of the experts shed some light on the subject?  What I would like to do is make the color of the appointment olCategoryColorDarkGreen.

Any assistance in this would be appreciated.

Thanks

Answer : Change Color Category to Appointment in VBA

Well ... in all honesty if the registration hasn't helped all I can wonder if a reboot makes the difference.

If it doesn't then this is as far as I can think on the matter.  As for categories, i'm sure i've set categories using VBA before but then possibilities are limited by the available categories still if a reboot doesn't work is VBA category coluring a fix for your requirement?

Chris
Random Solutions  
 
programming4us programming4us