Outlook – find a folder containing a particular message

There are several instances in Outlook, where you have a message and there is no easy way to find which folder contains it. For example, a search result view or a Search Folder, will display a message, and even the short name of the containing folder, but if you have multiple folders with the same short name, that does not help you.

If you are familiar with Outlook VBA macros, you could use the following snippet to jump to the folder for the currently selected message.

Sub JumpToMessageFolder()
    If TypeOf Application.ActiveWindow Is Outlook.Inspector Then
        Set ActiveExplorer.CurrentFolder = Application.ActiveInspector.CurrentItem.Parent
    Else
        Set ActiveExplorer.CurrentFolder = ActiveExplorer.Selection.Item(1).Parent
    End If
End Sub

If you have not used Outlook macros before, this page is a good introduction. It seems like a lot of text to go through, but you only
need information in the “Macros and the Visual Basic Editor” section. Just replace their example of the empty macro (“Sub Test()”) with the one above.

 

2 Replies to “Outlook – find a folder containing a particular message”

Comments are closed.