How to search Outlook for a folder name:

Following up on the popular Extracting Email address from outlook folder , and

Extracting all attachments from Outlook to your computer– not one by one

I have been getting frustrated by the lack of search facility that Outlook has to offer. Specifically the lack of facility to search for a specific folder name – not an email but a Folder Name.

I have lots of folders and sub folder so when I am looking for something its not always simple to find it, I want a facility that will find my folder.

Outlook doesn’t have a search for folder name facility, so I created one –  Smile

As per usual: when it comes to these things, I have to add my “I take no responsibility whatsoever if this Macro doesn’t work of messes up your Outlook”

I suggest backing it up before you continue further… (gotta say this for legal reasons)

Now that you have backed up your work, please continue:

1. Open Outlook

2. Right-click on this File and save it to your computer where you can find it again. Once it is downloaded, extract the one file in there and place it in the MY DOCUMENTS folder.

3.  In the ZIP file you have just downloaded is the Macro file. So now we need to Import it into Outlook.

4. Outlook 2010: You need to enable the DEVELOPER ribbon (if you haven’t already done so). It looks like this:

Find folder by name in outlook

If you don’t have it enabled, then just do the following:

Click on File, Options, Customize Ribbon and then put a Tick on the Developer on the right-hand side.

Find folder by name in outlook

Click OK and it will appear.

5. Click on Developer and then click on Visual Basic

6. Click on File, Import File

7. Select the extracted file : FindmyFolder.bas and click on Open

Find folder by name in outlook

8. Click on File, Close and Return to Outlook

You are now ready to use this !

NOTE: Anytime you want to search for a folder, you DO NOT have to repeat the above steps – just carry on from here:

Simple click on Developer tab, click on Macros and then Macros again, select the FindmyFolder and click on Run !

Find folder by name in outlook

You will be prompted to enter the folder you are looking for:

Find folder by name in outlook

You will then be asked if you would like to be taken to that folder.

Simple !

Bonus Add On Tip:

To make it even easier to access this without going to the Macro screen, you can use Outlook’s ribbon so its quick and easy.

Right click next to the ribbon and select Customize the Ribbon…

Find folder by name in outlook

On the right side, click on  Home (Mail) and then click on New Group

Find folder by name in outlook

Iit will create: Find folder by name in outlookright click on it, and rename it to “Cool Tool” (or anything)

Then on the left hand side, click on the drop down till you find Macros, then Select the FindFolder, click on Add>> and it will add it to the Cool Tool that is highlighted on the right.

Find folder by name in outlook

Then, right click on the  FindFolderFind folder by name in outlook that you just added and rename it to “Find Folder“ . I also selected the Magnifying glass as the icon

Click OK

You should see now on your Ribbon this icon and anytime you want to use it to find a folder name, here it is:

Find folder by name in outlook

Hope this helps !

ps. feedback is appreciated – so if you find it useful, post a comment below, share it on Facebook, Twitter and Google+ and let other know


on “How to search Outlook for a folder name:
27 Comments on “How to search Outlook for a folder name:
  1. Pingback: Extracting all attachments from Outlook to your computer– not one by one « The Techie Guy – Liron Segev

  2. Pingback: Extracting Email Address from Outlook 2007 folder « The Techie Guy – Liron Segev

  3. Liron,

    This is a great tool. The wildcard capability is especially appreciated. Is there a way to adapt the code so that, if several folders fit the wildcard pattern, I could cycle through them to find the one I wanted and then have the code set that one as the active folder?

    In other words, if it found a match, and I answered “No, I don’t want to move to the found folder,” is there a way that the code could continue to search from there, find the next wildcard match and then ask me the same question again.

    Many thanks again for the tool and any advice you could give on my question.


    • problem with cycling through the folders and then continuing if its the wrong folder is that you need to “remember” where you are so you carry on from there – not so straight forward in the code. Will take it under advisment for next time though

      • Gotta echo Joe here. Number 1 – of course, THANKS THANKS THANKS for writing this tool and making it publicly available. Number 2 (a distant number 2!) it would indeed be a lot more helpful if wildcard searches didn’t end at the first hit. I’m a cruddy programmer myself but I skimmed through your code and it looks like you have a subroutine that goes through all folders to look for a match – and when found you escape from the sub and present the result to the user. Could you present the result to the user while you are still inside the subroutine, and give the user three choices instead of the current two: (a) jump to this found folder, (b) keep looking or (c) quit. Or are there problems in Office Basic that make this more complicated?

  4. Pingback: Extracting Email Address from Outlook Folder & Subfolders « The Techie Guy – Liron Segev

  5. Been a programmer for 30+ years (not PC stuff though). This is a great tool and thank you SO much! Would it be so difficult for the Microsoft people to spend a little less time on screwing up the user interface every release and a little MORE time giving us tools, like yours, that actually make things easier?

  6. Just wanted to thank you for building a macro to find outlook files! I have been asking for this solution for quite some time–really appreciate the time savings!

  7. No macro is needed.
    In Outlook 2010: Ctrl+Shift+F, Advanced tab, Field->All Mail Fields->In Folder. Enter your folder’s name in the Value field. Use the condition to simulate wildcards (or not).
    Does not work if the folder is empty…

  8. Thank you. I frequently inadvertently move my folders into other folders and sometimes don’t notice when that happens. This will save me lot’s of time trying to find them again!

Add your comment