Thread: [Solved] Help to create a rule
View Single Post
 
Old 06-16-2016, 07:19 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,138
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Open the immediate window of the VBA editor (Ctrl+G)
Then add the following to a module
Code:
Sub GetFolderNames()
Dim olStore As Outlook.Store
Dim olFolder As Folder
    For Each olStore In Session.Stores
Debug.Print olStore.DisplayName
        For Each olFolder In olStore.GetRootFolder.folders
Debug.Print vbTab & vbTab & olFolder.Name
        Next olFolder
    Next olStore
End Sub
Run the macro then copy and paste the contents of the Immediate window to your next reply. Hopefully falecomrobson is one of the listed folders, from which it should be easy enough to derive the required subfolder
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote