OL2000: Recurring Appointments Display with <No Subject> After Upgrade (234667)



The information in this article applies to:

  • Microsoft Outlook 2000

This article was previously published under Q234667

SYMPTOMS

After upgrading to Outlook 2000, you may see recurring appointments in your Calendar with Subject field entries of <No Subject>. Additionally, the text of the Subject field as it appeared with the previous version of Outlook is displayed in the Notes body at the bottom of the Appointment form.

RESOLUTION

Copy the text from the Notes body to the Subject field and save the appointment.

MORE INFORMATION

If you have a large number of appointments with Subject fields which appear in the manner described in the "Symptoms" section, the following macro will automate the process of correcting the Subject field.

Microsoft 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 the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please visit the following Microsoft Web site: For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site: NOTE: The EndSub entry is provided by the Visual Basic Editor. Use the TAB key to indent lines. If you are viewing this article on a Knowledge Base Web page, you may want to copy and paste the text to assure accuracy.

To create a macro to correct the Subject field display in appointments, follow these steps:
  1. On the Tools menu, click Macro, and then click Visual Basic Editor.
  2. In the Project window, click the plus sign (+) to expand the Project object and the Microsoft Outlook Objects, and then double-click ThisOutlookSession.
  3. In the Code window at the right, type the following text:
    Sub CalFix()
    Dim objFolder
    Set objFolder = Application.Session.PickFolder
    For Each Item In objFolder.Items
        Item.Subject = Item.Body
        Item.Body = ""
        Item.Save
    Next
    MsgBox "Done"
    End Sub
    					
  4. To run the macro, on the Run menu, click Run Sub/UserForm.
  5. In Select Folder, click to select the Calendar folder containing the appointments to be repaired and then click OK.
  6. A message box displaying Done will appear when the Subject fields have been repaired.

Modification Type:MajorLast Reviewed:9/29/2003
Keywords:kbprb KB234667