{"id":423,"date":"2012-03-09T16:06:00","date_gmt":"2012-03-09T16:06:00","guid":{"rendered":"https:\/\/www.geekmungus.co.uk\/?p=423"},"modified":"2022-11-05T10:53:42","modified_gmt":"2022-11-05T10:53:42","slug":"copying-from-pst-into-outlook-2010-creates-items-with-copy-prefixed-on-them","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=423","title":{"rendered":"Copying from PST into Outlook 2010 creates items with &#8220;Copy:&#8221; prefixed on them"},"content":{"rendered":"\n<p>What a pain to have this happen, however once you&#8217;ve imported from PST you can run the following script from within Outlook 2010. In this example it changes the items in the &#8220;Calendar&#8221; folder under Outlook.<\/p>\n\n\n\n<p>From the Outlook 2010 client do this:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Press Alt+F11 which will open the VBA window.&nbsp;<\/li><li>In the left pane, navigate to Project1-MS Outlook Object and double-click &#8216;ThisOutlookSession&#8217;.<\/li><li>Paste the code into the window in the right pane.<\/li><li>Press the green arrow button to execute the code.<\/li><\/ol>\n\n\n\n<p>Code to paste in:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Sub FixCopy()\nDim calendar As MAPIFolder\nDim calItem As Object\n   \nSet calendar = Application.GetNamespace(\"MAPI\").GetDefaultFolder(olFolderCalendar)\n       \nDim iItemsUpdated As Integer\nDim strTemp As String\niItemsUpdated = 0\nFor Each calItem In calendar.Items\n    If Mid(calItem.Subject, 1, 6) = \"Copy: \" Then\n      strTemp = Mid(calItem.Subject, 7, Len(calItem.Subject) - 6)\n      calItem.Subject = strTemp\n      iItemsUpdated = iItemsUpdated + 1\n    End If\n    calItem.Save\nNext calItem\nMsgBox iItemsUpdated &amp; \" of \" &amp; calendar.Items.count &amp; \" Items Updated\"\nEnd Sub<\/code><\/pre>\n\n\n\n<p>This has been helped by the post: <a href=\"http:\/\/answers.microsoft.com\/en-us\/office\/forum\/officeversion_other-outlook\/importing-pst-outlook-calendars-subject-title-adds\/c58ccd50-451d-4519-a1c9-f0d2491abba8\">http:\/\/answers.microsoft.com\/en-us\/office\/forum\/officeversion_other-outlook\/importing-pst-outlook-calendars-subject-title-adds\/c58ccd50-451d-4519-a1c9-f0d2491abba8<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What a pain to have this happen, however once you&#8217;ve imported from PST you can run the following script from within Outlook 2010. In this example it changes the items in the &#8220;Calendar&#8221; folder under Outlook. From the Outlook 2010 client do this: Press Alt+F11 which will open the VBA window.&nbsp; In the left pane, &#8230; <a title=\"Copying from PST into Outlook 2010 creates items with &#8220;Copy:&#8221; prefixed on them\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=423\" aria-label=\"Read more about Copying from PST into Outlook 2010 creates items with &#8220;Copy:&#8221; prefixed on them\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-423","post","type-post","status-publish","format-standard","hentry","category-microsoft-windows"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=423"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/423\/revisions"}],"predecessor-version":[{"id":1510,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/423\/revisions\/1510"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}