Microsoft Outlook troubleshooting

When creating a personal form in Microsoft Outlook, it’s possible to select it as the default form for a given folder. Then, every new item created in the folder will be displayed using the personal form. If, however, items  are copied or moved from another folder, or when the default form for the folder has been changed, but this folder already had items inside, then the items will be open with the previous form.

If the items need to be open using the personal form, their properties MessageClass need to be changed to relate to the name of the personal form. This can be done using the macro below. The macro changes MessageClass properties for all items in selected folder, so they are open with a form of class name “IPM.Contact.2.Customer”.
 

Sub AssignMsgClass()
	Set folder = Application.ActiveExplorer.CurrentFolder
	For Each item In folder.Items
		item.MessageClass = "IPM.Contact.C2.Customer"
		item.Save
	Next
End Sub 
 

This form needs to be selected as default for the folder if new items need to be created with.


Fig. 1. Selecting a default form for a folder.

© All rights reserved. No part or whole of this article may not be reproduced or published without prior permission.

Leave a comment

Fix Outlook
    Comment
Name

Organisation
Email address
Enter the sum of digits 5 and 4:
Notify me about new comments for this article (you need to provide a valid email address).