When is a MailItem not a MailItem? [closed]

This code showed me the different TypeNames that were in my Inbox: Public Sub GetTypeNamesInbox() Dim myOlItems As Outlook.Items Set myOlItems = application.GetNamespace(“MAPI”).GetDefaultFolder(olFolderInbox).Items Dim msg As Object For Each msg In myOlItems Debug.Print TypeName(msg) ’emails are typename MailItem ‘Meeting responses are typename MeetingItem ‘Delivery receipts are typename ReportItem Next msg End Sub HTH

How do I open an outlook .msg file from my harddrive that is NOT in outlook?

See here http://msdn.microsoft.com/en-us/library/office/ff865637.aspx Sub CreateFromTemplate() Dim MyItem As Outlook.MailItem Set MyItem = Application.CreateItemFromTemplate(“C:\statusrep.oft”) MyItem.Display End Sub Not just for .oft files Set MyItem = Application.CreateItemFromTemplate(“C:\temp\mail_item1.msg”) Edit – I keep forgetting about OpenSharedItem. http://msdn.microsoft.com/en-us/library/office/bb208171(v=office.12).aspx