chrisgreen
Programmer
Sub ChangeMessageClass()<br>Set olApp = Application<br>Set olNS = olApp.GetNameSpace("MAPI"<br><br>Set ContactsFolder = olNS.GetDefaultFolder(olFolderContacts)<br><br>Set ContactItems = ContactsFolder.Items<br>For Each Itm in ContactItems<br> If Itm.MessageClass <> "IPM.Contact.test1" Then<br> Itm.MessageClass = "IPM.Contact.test1"<br> Itm.Save<br> End If<br>Next<br>End Sub<br>