Discussion Locked

Outlook 2000: Change form for records

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have modified the contacts form to add fields onto Page 2. I have saved the form and use it for new contacts. How can I change the old contacts to use the modified form?

3 replies

by csmith

Thank you. In the mean time I wrote a macro to do it.

Sub Modify_Contact_Message_Class()
Dim olookApp As Outlook.Application
Dim olookContact As Object
Dim olookSpace As Outlook.NameSpace
Dim olookFolder As Outlook.MAPIFolder

Set olookApp = CreateObject("Outlook.Application")
Set olookSpace = olookApp.GetNamespace("MAPI")
Set olookFolder = olookSpace.GetDefaultFolder(olFolderContacts)

For Each olookContact In olookFolder.Items.Restrict("[Message Class] = 'IPM.Contact'")
olookContact.MessageClass = "IPM.Contact.SBS"
olookContact.Save
Next

End Sub

This discussion is closed to new replies.