SBS 2008 imported PST files into new domain user mailbox. calendar items all have COPY:

We set up SBS 2008 and had to import pst files into the new user mailboxes.  When opening Outlook 2007 on some machines we notice that all calendar items have Copy: appended prior to the actual calendar item.

Not sure what caused this.  Not all users but some.  All PST files were imported into outlook after configuring the exchange account
scoobyftlAsked:
Who is Participating?
 
OveCommented:
this outlook-script should do the job. Pls check if there is a space behind "COPY: " in your appointment-titles. If not, pls adapt the script:

Ove
Sub Rename_Appointments()
    On Error Resume Next
    Dim appOL As New Outlook.Application 'Outlook-Reference
    Dim objNS As Outlook.NameSpace 'Namespace-Reference
    Dim objFld As Outlook.MAPIFolder 'Folder-Reference
    Dim i As Long 'Progresscounter1
    Dim j As Long 'Progresscounter2
    Dim strSubject As String
    i = 0
    j = 0
    Set objNS = appOL.GetNamespace("MAPI") 'MAPI-Reference
    Set objFld = objNS.PickFolder 'Pick calendar folder to process
    For Each myItem In objFld.Items
        i = i + 1
        If myItem.Class = olAppointment Then
            strSubject = myItem.Subject
            If InStr(strSubject, "COPY: ") = 1 Then
                j = j + 1
                myItem.Subject = Replace(strSubject, "COPY: ", "")
                myItem.Save
            End If
        End If
        DoEvents
    Next
    MsgBox "Renamed " & j & " out of " & i & " appointments."
End Sub

Open in new window

0
 
OveCommented:
what's your intention now?

Do you need a script to rename all the items back to the original name, or do you want to know what was the error`?

Ove
0
 
scoobyftlAuthor Commented:
Would like to know what causes this issue.  If there is a script then i welcome that solution to the problem.

Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.