Public Sub AddCategory()
Dim Appt As Object
Set Items = Session.GetDefaultFolder(olFolderCalendar).Items
For Each Appt In Items
On Error Resume Next
If Appt.End < Now() Then
With Appt
.Categories = "Completed"
.ReminderSet = False
.Save
End with
End If
Next
Set Appt = Nothing
End Sub
So if Tentative it is Yellow, but when it changes to busy be Red or upon creation it is set then and never will change unless human intervention is involved?