Outlook 2013 Is there any easy way to quickly search for the name of a folder in Outlook's inbox folder structure

m8r-3k1dao

Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server 2013
Is there any easy way to quickly search for the name of a folder in Outlook's inbox folder structure?

I am talking about this:



I have to categorize emails into this folder structure as they arrive but 99% of the time is looking for the right folder...

We are running our own Exchange and I am using Outlook over rdp
 

nola

Member
Outlook version
Outlook 2007
Email Account
Exchange Server 2007
Here is a quick program example from the Mastering VBA for Office 2013 Manual that runs through the folder structure and displays the folder names:

Sub List_All_NameSpace_Folders()

Dim my NS as NameSpace
Dim myFolder as MAPIFolder
Dim mySubfolder as MAPIFolder
Dim strFolderList As String

strFolderList = "Your Outlook NameSpace contains these folders: " & vbCr & vbCr

Set my NS = Application.GetNamespace("MAPI")
With myNS
For Each myFolder In myNS.Folders
strFolderList = strFolderList & myFolder.Name & vbCr
For Each mySubfolder in myFolder.Folders
strFolderList = strFolderList & "* " & mySubfolder.Name & vbCr
Next mySubfolder
Next myFolder
End With

Msgbox strFolderList, vbOKOnly & vbInformation, "Folders in NameSpace "

End Sub
 

Similar threads

Top