Article ID: 201087 - View products that this article applies to.
This article was previously published under Q201087
This article describes how to update items in an Outlook folder so that those items open using a different form than the form that the items are currently associated with.
For example, you might want to change the form that is used for all of the items in a folder in the following situations:
When you create and publish a custom form, the form is assigned a message class. This message class determines which form is associated with an item. The format of the name is "IPM.Form_Type.Form_Name", where Form_Type is the type of form (Contact, Task, and so on) and Form_Name is the name of the custom form. For example, if you create a new contact form, name it Revised, and then publish it to your Contacts folder, the message class is IPM.Contact.Revised.
Note In each of the following operations, it is imperative that you enter the new message class name exactly as the name that was used when the form was published.
The following table lists the various names that are used for message classes:
Note You cannot customize and publish the Note form.
Item Default folder Default message class ------------- -------------- --------------------- Contact Contacts IPM.Contact Task Tasks IPM.Task Appointment Calendar IPM.Appointment Note Notes IPM.StickyNote Journal Entry Journal IPM.Activity Mail Inbox IPM.Note
To see the message class for an existing item, add the Message Class field as one of the columns in the current view. The message class in this view is read-only; you cannot type a different message class to change the form manually.
To add the message class to your view, follow these steps:
You can use the following two methods to change Message Class fields. Use the second method only if you do not have Microsoft Word 97 or Microsoft Word 2000, or if you cannot obtain the Omsgclas.exe file.
Download the Omsgclas.exe utilityTo change Message Class fields, download Omsgclas.exe, which contains a Word 97 or Word 2000 document with a macro that changes Outlook message classes. This is the same utility that is available for Microsoft Outlook 97 and Word 97. It also works with Outlook 2000 and Word 2000. The macro runs automatically when you open the document.
When you open Omsgclas in Word 2000, you may find that the Word document will come up but the macro will not run. To correct this problem, you must reset the macro security in Word 2000. While in Word, point to Macro on the Tools menu and click Security. Change the security to low or medium. This will enable the macro to run.
For more information about how to obtain the Omsgclas.exe file, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/201089/ )Word document to change message class of Outlook items
Create a VBScript routineMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs.
If you have limited programming experience, you may want to contact a Microsoft Certified Partner or Microsoft Advisory Services. For more information, visit these Microsoft Web sites:
Microsoft Certified Partners - https://partner.microsoft.com/global/30000104
Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice
For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS
(http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms)Follow the steps below to create and run a VBScript routine that will change all the items in a folder to a specified form. This example assumes that you have published a new form called MyNewForm in the current folder. If you use a different title for your form, modify the form title used in the third line of code in the section "Enter the VBScript Code."
There are three tasks to this solution.
Create a new item to store the VBScript code
Enter the VBScript Code and Save the Form
Run the VBScript code
For more information about available resources and answers to commonly asked questions about Microsoft Outlook 2000 solutions, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/146636/ )Frequently asked questions about custom forms and Outlook solutions
(http://support.microsoft.com/kb/241220/ )General information about the Existing Items converter
Article ID: 201087 - Last Review: November 23, 2006 - Revision: 3.4
Contact us for more help
Connect with Answer Desk for expert help.